improvements
Browse files- src/about.py +7 -2
src/about.py
CHANGED
@@ -72,20 +72,25 @@ 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 |
pip install accelerate openai anthropic datasets
|
77 |
```
|
|
|
78 |
Setup your :
|
79 |
* OPENAI_API_KEY
|
80 |
* ANTHROPIC_API_KEY
|
81 |
* HF_TOKEN
|
82 |
|
83 |
Select a model
|
84 |
-
|
|
|
85 |
MODEL_ID = # model_id_here
|
86 |
```
|
|
|
87 |
Then run the following script
|
88 |
-
|
|
|
89 |
from transformers import pipeline
|
90 |
import torch
|
91 |
import os
|
|
|
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
|
95 |
import torch
|
96 |
import os
|