Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -33,7 +33,6 @@ The model is compatible with the `transformers` library starting from v4.48.0:
|
|
| 33 |
|
| 34 |
```sh
|
| 35 |
pip install -r requirements.txt
|
| 36 |
-
pip install --pre torch==2.7.0.dev20250110+cu126 --index-url https://download.pytorch.org/whl/nightly/cu126 --upgrade
|
| 37 |
```
|
| 38 |
|
| 39 |
Here is an example code of using the model:
|
|
@@ -41,6 +40,7 @@ Here is an example code of using the model:
|
|
| 41 |
```python
|
| 42 |
from modeling_chronogpt import ChronoGPT
|
| 43 |
import tiktoken
|
|
|
|
| 44 |
|
| 45 |
device = 'cuda:0'
|
| 46 |
max_length = 1792
|
|
|
|
| 33 |
|
| 34 |
```sh
|
| 35 |
pip install -r requirements.txt
|
|
|
|
| 36 |
```
|
| 37 |
|
| 38 |
Here is an example code of using the model:
|
|
|
|
| 40 |
```python
|
| 41 |
from modeling_chronogpt import ChronoGPT
|
| 42 |
import tiktoken
|
| 43 |
+
import torch
|
| 44 |
|
| 45 |
device = 'cuda:0'
|
| 46 |
max_length = 1792
|