duyntnet / Phi-3.5-mini-instruct-imatrix-GGUF

huggingface.co
Total runs: 2.6K
24-hour runs: 28
7-day runs: -38
30-day runs: 212
Model's Last Updated: August 21 2024
text-generation

Introduction of Phi-3.5-mini-instruct-imatrix-GGUF

Model Details of Phi-3.5-mini-instruct-imatrix-GGUF

Quantizations of https://huggingface.co/microsoft/Phi-3.5-mini-instruct

Inference Clients/UIs

From original readme

Phi-3.5-mini is a lightweight, state-of-the-art open model built upon datasets used for Phi-3 - synthetic data and filtered publicly available websites - with a focus on very high-quality, reasoning dense data. The model belongs to the Phi-3 model family and supports 128K token context length. The model underwent a rigorous enhancement process, incorporating both supervised fine-tuning, proximal policy optimization, and direct preference optimization to ensure precise instruction adherence and robust safety measures.

Usage
Requirements

Phi-3 family has been integrated in the 4.43.0 version of transformers . The current transformers version can be verified with: pip list | grep transformers .

Examples of required packages:

flash_attn==2.5.8
torch==2.3.1
accelerate==0.31.0
transformers==4.43.0

Phi-3.5-mini-instruct is also available in Azure AI Studio

Tokenizer

Phi-3.5-mini-Instruct supports a vocabulary size of up to 32064 tokens. The tokenizer files already provide placeholder tokens that can be used for downstream fine-tuning, but they can also be extended up to the model's vocabulary size.

Input Formats

Given the nature of the training data, the Phi-3.5-mini-instruct model is best suited for prompts using the chat format as follows:

<|system|>
You are a helpful assistant.<|end|>
<|user|>
How to explain Internet for a medieval knight?<|end|>
<|assistant|>
Loading the model locally

After obtaining the Phi-3.5-mini-instruct model checkpoint, users can use this sample code for inference.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline

torch.random.manual_seed(0)

model = AutoModelForCausalLM.from_pretrained(
    "microsoft/Phi-3.5-mini-instruct", 
    device_map="cuda", 
    torch_dtype="auto", 
    trust_remote_code=True, 
)
tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3.5-mini-instruct")

messages = [
    {"role": "system", "content": "You are a helpful AI assistant."},
    {"role": "user", "content": "Can you provide ways to eat combinations of bananas and dragonfruits?"},
    {"role": "assistant", "content": "Sure! Here are some ways to eat bananas and dragonfruits together: 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey. 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey."},
    {"role": "user", "content": "What about solving an 2x + 3 = 7 equation?"},
]

pipe = pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
)

generation_args = {
    "max_new_tokens": 500,
    "return_full_text": False,
    "temperature": 0.0,
    "do_sample": False,
}

output = pipe(messages, **generation_args)
print(output[0]['generated_text'])

Runs of duyntnet Phi-3.5-mini-instruct-imatrix-GGUF on huggingface.co

2.6K
Total runs
28
24-hour runs
-33
3-day runs
-38
7-day runs
212
30-day runs

More Information About Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co Model

More Phi-3.5-mini-instruct-imatrix-GGUF license Visit here:

https://choosealicense.com/licenses/other

Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co

Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co is an AI model on huggingface.co that provides Phi-3.5-mini-instruct-imatrix-GGUF's model effect (), which can be used instantly with this duyntnet Phi-3.5-mini-instruct-imatrix-GGUF model. huggingface.co supports a free trial of the Phi-3.5-mini-instruct-imatrix-GGUF model, and also provides paid use of the Phi-3.5-mini-instruct-imatrix-GGUF. Support call Phi-3.5-mini-instruct-imatrix-GGUF model through api, including Node.js, Python, http.

Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co Url

https://huggingface.co/duyntnet/Phi-3.5-mini-instruct-imatrix-GGUF

duyntnet Phi-3.5-mini-instruct-imatrix-GGUF online free

Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co is an online trial and call api platform, which integrates Phi-3.5-mini-instruct-imatrix-GGUF's modeling effects, including api services, and provides a free online trial of Phi-3.5-mini-instruct-imatrix-GGUF, you can try Phi-3.5-mini-instruct-imatrix-GGUF online for free by clicking the link below.

duyntnet Phi-3.5-mini-instruct-imatrix-GGUF online free url in huggingface.co:

https://huggingface.co/duyntnet/Phi-3.5-mini-instruct-imatrix-GGUF

Phi-3.5-mini-instruct-imatrix-GGUF install

Phi-3.5-mini-instruct-imatrix-GGUF is an open source model from GitHub that offers a free installation service, and any user can find Phi-3.5-mini-instruct-imatrix-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of Phi-3.5-mini-instruct-imatrix-GGUF install, users can directly use Phi-3.5-mini-instruct-imatrix-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Phi-3.5-mini-instruct-imatrix-GGUF install url in huggingface.co:

https://huggingface.co/duyntnet/Phi-3.5-mini-instruct-imatrix-GGUF

Url of Phi-3.5-mini-instruct-imatrix-GGUF

Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co Url

Provider of Phi-3.5-mini-instruct-imatrix-GGUF huggingface.co

duyntnet
ORGANIZATIONS

Other API from duyntnet