Upload folder using huggingface_hub
Browse files- .gitattributes +7 -0
- Phi-3.1-mini-128k-instruct-IQ3_M.gguf +3 -0
- Phi-3.1-mini-128k-instruct-IQ4_XS.gguf +3 -0
- Phi-3.1-mini-128k-instruct-Q3_K_L.gguf +3 -0
- Phi-3.1-mini-128k-instruct-Q4_K_M.gguf +3 -0
- Phi-3.1-mini-128k-instruct-Q5_K_M.gguf +3 -0
- Phi-3.1-mini-128k-instruct-Q6_K.gguf +3 -0
- Phi-3.1-mini-128k-instruct-Q8_0.gguf +3 -0
- README.md +80 -0
.gitattributes
CHANGED
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Phi-3.1-mini-128k-instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3.1-mini-128k-instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3.1-mini-128k-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3.1-mini-128k-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3.1-mini-128k-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3.1-mini-128k-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3.1-mini-128k-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Phi-3.1-mini-128k-instruct-IQ3_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17f6111be353fb682cd8d06debf47ff50e77bce5fea376eca2f5847d2c36e357
|
3 |
+
size 1855600384
|
Phi-3.1-mini-128k-instruct-IQ4_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8261ac060034230a22c37e7387b15a45ead5043e6cc2f3fcf30eb960ade19054
|
3 |
+
size 2059853056
|
Phi-3.1-mini-128k-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f0df14d5474a0e71648d950efc048582b7c708becdd960754314b81af23b594
|
3 |
+
size 2087597824
|
Phi-3.1-mini-128k-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dde15f8155119acc4cab4ed4cdcfe2d511f713e4b3fc5c96047634dd626f6cc3
|
3 |
+
size 2393232640
|
Phi-3.1-mini-128k-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d76d7a58a4c9ac0f6d721ce53ff39a606814e2ee9f6d1c1529d0d7fc0ca8226
|
3 |
+
size 2815276288
|
Phi-3.1-mini-128k-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6613da53d5385540ce09ac184be5380fcde53c733373dfb62b584ba2263773f
|
3 |
+
size 3135853312
|
Phi-3.1-mini-128k-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbee37becf96f3cb70f902c74dd7eda67fc9a6ee2f6defa370f8e9e038cd3a23
|
3 |
+
size 4061222656
|
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/resolve/main/LICENSE
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
tags:
|
8 |
+
- nlp
|
9 |
+
- code
|
10 |
+
inference:
|
11 |
+
parameters:
|
12 |
+
temperature: 0.0
|
13 |
+
widget:
|
14 |
+
- messages:
|
15 |
+
- role: user
|
16 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
17 |
+
quantized_by: bartowski
|
18 |
+
lm_studio:
|
19 |
+
param_count: 4b
|
20 |
+
use_case: chat
|
21 |
+
release_date: 02-07-2024
|
22 |
+
model_creator: Microsoft
|
23 |
+
prompt_template: Phi 3
|
24 |
+
system_prompt: You are a helpful AI assistant.
|
25 |
+
base_model: Phi
|
26 |
+
original_repo: microsoft/Phi-3-mini-128k-instruct
|
27 |
+
base_model: microsoft/Phi-3-mini-128k-instruct
|
28 |
+
---
|
29 |
+
## 💫 Community Model> Phi-3.1 mini 128k instruct by Microsoft
|
30 |
+
|
31 |
+
*👾 [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
|
32 |
+
|
33 |
+
**Model creator:** [Microsoft](https://huggingface.co/microsoft)<br>
|
34 |
+
**Original model**: [Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct)<br>
|
35 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b3460](https://github.com/ggerganov/llama.cpp/releases/tag/b3460)<br>
|
36 |
+
|
37 |
+
## Model Summary:
|
38 |
+
Though the name was left as Phi-3 in Microsoft's release, this is NOT the same model as before! It features massive improvements across a range of benchmarks, so we've renamed it as Phi-3.1 for clarity.<br>
|
39 |
+
This update used additional post-training data which improved instruction following, structuring output, multi-turn conversations, explicitly support <|system|> tag, and significantly improve reasoning capability.<br>
|
40 |
+
|
41 |
+
This model is tuned with common sense, language understanding, math, code, long conteext, and logical reasoning as the primary focus.
|
42 |
+
|
43 |
+
## Prompt template:
|
44 |
+
|
45 |
+
Choose the `Phi 3` preset in your LM Studio.
|
46 |
+
|
47 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
48 |
+
|
49 |
+
```
|
50 |
+
<|system|>
|
51 |
+
You are a helpful AI assistant.<|end|>
|
52 |
+
<|user|>
|
53 |
+
{prompt}<|end|>
|
54 |
+
<|assistant|>
|
55 |
+
```
|
56 |
+
|
57 |
+
## Technical Details
|
58 |
+
|
59 |
+
Phi-3.1 Mini-4K-Instruct has 3.8B parameters and is a dense decoder-only Transformer model. The model is fine-tuned with Supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) to ensure alignment with human preferences and safety guidlines.
|
60 |
+
|
61 |
+
Context length: 128K tokens through Microsoft's longrope technique
|
62 |
+
|
63 |
+
This model was trained on 3.3T tokens of data and is a combination:
|
64 |
+
- publicly available documents that were filtered rigorously for quality, selected high-quality educational data, and code
|
65 |
+
- Newly created synthetic, “textbook-like” data for the purpose of teaching math, coding, common sense reasoning, general knowledge of the world (science, daily activities, theory of mind, etc.)
|
66 |
+
- High quality chat format supervised data covering various topics to reflect human preferences on different aspects such as instruct-following, truthfulness, honesty and helpfulness.
|
67 |
+
|
68 |
+
Phi 3.1 features additional tuning based on customer feedback, emphasizing instruction following, structure output, multi-turn conversation quality, explicitly support <|system|> tag, and significantly improve reasoning capability.
|
69 |
+
|
70 |
+
Find more details on the arXiv report [here](https://arxiv.org/abs/2404.14219)
|
71 |
+
|
72 |
+
## Special thanks
|
73 |
+
|
74 |
+
🙏 Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
|
75 |
+
|
76 |
+
🙏 Special thanks to [Kalomaze](https://github.com/kalomaze) for his dataset (linked [here](https://github.com/ggerganov/llama.cpp/discussions/5263)) that was used for calculating the imatrix for the IQ1_M and IQ2_XS quants, which makes them usable even at their tiny size!
|
77 |
+
|
78 |
+
## Disclaimers
|
79 |
+
|
80 |
+
LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.
|