Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: openrail
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
library_name: transformers
|
7 |
+
---
|
8 |
+
|
9 |
+
|
10 |
+
## Original model card
|
11 |
+
|
12 |
+
Buy me a coffee if you like this project ;)
|
13 |
+
<a href="https://www.buymeacoffee.com/s3nh"><img src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg" alt=""></a>
|
14 |
+
|
15 |
+
#### Description
|
16 |
+
|
17 |
+
GGML Format model files for [This project](https://huggingface.co/lmsys/vicuna-13b-v1.5).
|
18 |
+
|
19 |
+
|
20 |
+
### inference
|
21 |
+
|
22 |
+
|
23 |
+
```python
|
24 |
+
|
25 |
+
import ctransformers
|
26 |
+
|
27 |
+
from ctransformers import AutoModelForCausalLM
|
28 |
+
|
29 |
+
model = AutoModelForCausalLM.from_pretrained(output_dir, ggml_file,
|
30 |
+
gpu_layers=32, model_type="llama")
|
31 |
+
|
32 |
+
manual_input: str = "Tell me about your last dream, please."
|
33 |
+
|
34 |
+
|
35 |
+
llm(manual_input,
|
36 |
+
max_new_tokens=256,
|
37 |
+
temperature=0.9,
|
38 |
+
top_p= 0.7)
|
39 |
+
|
40 |
+
```
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
# Original model card
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
## Model Details
|
49 |
+
|
50 |
+
Vicuna is a chat assistant trained by fine-tuning Llama 2 on user-shared conversations collected from ShareGPT.
|
51 |
+
|
52 |
+
- **Developed by:** [LMSYS](https://lmsys.org/)
|
53 |
+
- **Model type:** An auto-regressive language model based on the transformer architecture
|
54 |
+
- **License:** Llama 2 Community License Agreement
|
55 |
+
- **Finetuned from model:** [Llama 2](https://arxiv.org/abs/2307.09288)
|
56 |
+
|
57 |
+
### Model Sources
|
58 |
+
|
59 |
+
- **Repository:** https://github.com/lm-sys/FastChat
|
60 |
+
- **Blog:** https://lmsys.org/blog/2023-03-30-vicuna/
|
61 |
+
- **Paper:** https://arxiv.org/abs/2306.05685
|
62 |
+
- **Demo:** https://chat.lmsys.org/
|
63 |
+
|
64 |
+
## Uses
|
65 |
+
|
66 |
+
The primary use of Vicuna is research on large language models and chatbots.
|
67 |
+
The primary intended users of the model are researchers and hobbyists in natural language processing, machine learning, and artificial intelligence.
|
68 |
+
|
69 |
+
## How to Get Started with the Model
|
70 |
+
|
71 |
+
- Command line interface: https://github.com/lm-sys/FastChat#vicuna-weights
|
72 |
+
- APIs (OpenAI API, Huggingface API): https://github.com/lm-sys/FastChat/tree/main#api
|
73 |
+
|
74 |
+
## Training Details
|
75 |
+
|
76 |
+
Vicuna v1.5 is fine-tuned from Llama 2 with supervised instruction fine-tuning.
|
77 |
+
The training data is around 125K conversations collected from ShareGPT.com.
|
78 |
+
See more details in the "Training Details of Vicuna Models" section in the appendix of this [paper](https://arxiv.org/pdf/2306.05685.pdf).
|
79 |
+
|
80 |
+
## Evaluation
|
81 |
+
|
82 |
+
Vicuna is evaluated with standard benchmarks, human preference, and LLM-as-a-judge. See more details in this [paper](https://arxiv.org/pdf/2306.05685.pdf) and [leaderboard](https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard).
|
83 |
+
|
84 |
+
## Difference between different versions of Vicuna
|
85 |
+
|
86 |
+
See [vicuna_weights_version.md](https://github.com/lm-sys/FastChat/blob/main/docs/vicuna_weights_version.md)
|