File size: 904 Bytes
00ba734
 
feaba54
 
 
 
00ba734
dfb4b66
 
 
 
00ba734
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
license: mit
base_model:
- ServiceNow-AI/Apriel-5B-Base
pipeline_tag: text-generation
library_name: transformers
---

* [Apriel 5B Instruct (Llamafied)](https://huggingface.co/mrfakename/Apriel-5B-Instruct-llamafied)
* **Apriel 5B Base (Llamafied)**

# Apriel 5B Base (Llamafied)

An approximate conversion of [Apriel 5B Base](https://huggingface.co/ServiceNow-AI/Apriel-5B-Base) to the Llama format.

* No `trust_remote_code` required
* Compatible w/ popular fine-tuning frameworks
* Easier to run

Usage:

```python
from transformers import pipeline
import torch

device = 'cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu'

pipe = pipeline('text-generation', model='mrfakename/Apriel-5B-Base-llamafied', device=device)

print(pipe('It was a dark and stormy night. The wind')[0]['generated_text'])
```

License: MIT (same as the original Apriel 5B model)