better text visualization
Browse files- src/about.py +5 -5
src/about.py
CHANGED
@@ -71,24 +71,24 @@ If everything is done, check you can launch the EleutherAIHarness on your model
|
|
71 |
EVALUATION_SCRIPT = '''
|
72 |
To evaluate the model you can access the colab notebook at [this link](https://colab.research.google.com/drive/145KAGvgdAb8BrkObUrxAVWBd9EGDqy8N?usp=sharing).
|
73 |
|
74 |
-
First install the necessary libraries
|
75 |
|
76 |
```
|
77 |
pip install accelerate openai anthropic datasets
|
78 |
```
|
79 |
|
80 |
-
Setup your :
|
81 |
* OPENAI_API_KEY
|
82 |
* ANTHROPIC_API_KEY
|
83 |
* HF_TOKEN
|
84 |
|
85 |
-
Select a model
|
86 |
|
87 |
```python
|
88 |
MODEL_ID = # model_id_here
|
89 |
```
|
90 |
|
91 |
-
Then run the following script
|
92 |
|
93 |
````python
|
94 |
from transformers import pipeline
|
@@ -289,7 +289,7 @@ with open(file_name, "w") as outfile:
|
|
289 |
|
290 |
````
|
291 |
|
292 |
-
if you are not part of braindao set `create_pr` to **True**
|
293 |
```python
|
294 |
from huggingface_hub import upload_file
|
295 |
upload_file(path_or_fileobj = file_name,
|
|
|
71 |
EVALUATION_SCRIPT = '''
|
72 |
To evaluate the model you can access the colab notebook at [this link](https://colab.research.google.com/drive/145KAGvgdAb8BrkObUrxAVWBd9EGDqy8N?usp=sharing).
|
73 |
|
74 |
+
## First install the necessary libraries
|
75 |
|
76 |
```
|
77 |
pip install accelerate openai anthropic datasets
|
78 |
```
|
79 |
|
80 |
+
## Setup your :
|
81 |
* OPENAI_API_KEY
|
82 |
* ANTHROPIC_API_KEY
|
83 |
* HF_TOKEN
|
84 |
|
85 |
+
## Select a model
|
86 |
|
87 |
```python
|
88 |
MODEL_ID = # model_id_here
|
89 |
```
|
90 |
|
91 |
+
## Then run the following script
|
92 |
|
93 |
````python
|
94 |
from transformers import pipeline
|
|
|
289 |
|
290 |
````
|
291 |
|
292 |
+
## if you are not part of braindao set `create_pr` to **True**
|
293 |
```python
|
294 |
from huggingface_hub import upload_file
|
295 |
upload_file(path_or_fileobj = file_name,
|