Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- llm
|
| 6 |
+
- gpt
|
| 7 |
+
- create-llm
|
| 8 |
+
- pytorch
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# nova
|
| 12 |
+
|
| 13 |
+
This model was trained using [create-llm](https://github.com/theaniketgiri/create-llm).
|
| 14 |
+
|
| 15 |
+
## Model Description
|
| 16 |
+
|
| 17 |
+
A language model trained with create-llm framework.
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
import torch
|
| 23 |
+
from transformers import AutoTokenizer
|
| 24 |
+
|
| 25 |
+
# Load model
|
| 26 |
+
model = torch.load('pytorch_model.bin')
|
| 27 |
+
model.eval()
|
| 28 |
+
|
| 29 |
+
# Load tokenizer (if available)
|
| 30 |
+
try:
|
| 31 |
+
tokenizer = AutoTokenizer.from_pretrained("cthyatt/nova")
|
| 32 |
+
except:
|
| 33 |
+
print("Tokenizer not available")
|
| 34 |
+
|
| 35 |
+
# Generate text
|
| 36 |
+
# Add your generation code here
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Training Details
|
| 40 |
+
|
| 41 |
+
- **Framework:** PyTorch
|
| 42 |
+
- **Tool:** create-llm
|
| 43 |
+
- **Deployment:** Hugging Face Hub
|
| 44 |
+
|
| 45 |
+
## Citation
|
| 46 |
+
|
| 47 |
+
```bibtex
|
| 48 |
+
@misc{cthyatt-nova,
|
| 49 |
+
author = {Your Name},
|
| 50 |
+
title = {nova},
|
| 51 |
+
year = {2024},
|
| 52 |
+
publisher = {Hugging Face},
|
| 53 |
+
howpublished = {\url{https://huggingface.co/cthyatt/nova}}
|
| 54 |
+
}
|
| 55 |
+
```
|