Use and capabilities
#4
by
pcuenq
HF Staff
- opened
README.md
CHANGED
|
@@ -15,12 +15,22 @@ Code Llama is a collection of pretrained and fine-tuned generative text models r
|
|
| 15 |
| 13B | [codellama/CodeLlama-13b-hf](https://huggingface.co/codellama/CodeLlama-13b-hf) | [codellama/CodeLlama-13b-Python-hf](https://huggingface.co/codellama/CodeLlama-13b-Python-hf) | [codellama/CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) |
|
| 16 |
| 34B | [codellama/CodeLlama-34b-hf](https://huggingface.co/codellama/CodeLlama-34b-hf) | [codellama/CodeLlama-34b-Python-hf](https://huggingface.co/codellama/CodeLlama-34b-Python-hf) | [codellama/CodeLlama-34b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-34b-Instruct-hf) |
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
```bash
|
| 21 |
-
pip install git+https://github.com/huggingface/transformers.git@
|
| 22 |
```
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
```python
|
| 26 |
from transformers import AutoTokenizer
|
|
|
|
| 15 |
| 13B | [codellama/CodeLlama-13b-hf](https://huggingface.co/codellama/CodeLlama-13b-hf) | [codellama/CodeLlama-13b-Python-hf](https://huggingface.co/codellama/CodeLlama-13b-Python-hf) | [codellama/CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) |
|
| 16 |
| 34B | [codellama/CodeLlama-34b-hf](https://huggingface.co/codellama/CodeLlama-34b-hf) | [codellama/CodeLlama-34b-Python-hf](https://huggingface.co/codellama/CodeLlama-34b-Python-hf) | [codellama/CodeLlama-34b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-34b-Instruct-hf) |
|
| 17 |
|
| 18 |
+
|
| 19 |
+
## Model Use
|
| 20 |
+
|
| 21 |
+
To use this model, please make sure to install transformers from `main` until the next version is released:
|
| 22 |
|
| 23 |
```bash
|
| 24 |
+
pip install git+https://github.com/huggingface/transformers.git@main accelerate
|
| 25 |
```
|
| 26 |
|
| 27 |
+
Model capabilities:
|
| 28 |
+
|
| 29 |
+
- [x] Code completion.
|
| 30 |
+
- [x] Infilling.
|
| 31 |
+
- [ ] Instructions / chat.
|
| 32 |
+
- [ ] Python specialist.
|
| 33 |
+
|
| 34 |
|
| 35 |
```python
|
| 36 |
from transformers import AutoTokenizer
|