Jiayi05 commited on
Commit
013d895
Β·
verified Β·
1 Parent(s): 2c4eec9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -20
README.md CHANGED
@@ -28,9 +28,9 @@ from huggingface_hub import login
28
  login("Replace with the key")
29
  ```
30
 
31
- # Step 2: Define the preprocessing and dataset class
32
 
33
- 1. Run the following class and functions designed to preprocess the test data
34
 
35
  ```python
36
  class NewsDataset(Dataset):
@@ -135,24 +135,6 @@ print(f"Test Accuracy: {accuracy:.4f}")
135
  # Expected output:
136
  ```python
137
  Loading model and tokenizer...
138
- /usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_auth.py:94: UserWarning:
139
- The secret `HF_TOKEN` does not exist in your Colab secrets.
140
- To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.
141
- You will be able to reuse this secret in all of your notebooks.
142
- Please note that authentication is recommended but still optional to access public models or datasets.
143
- warnings.warn(
144
- config.json: 100%
145
-  735/735 [00:00<00:00, 40.8kB/s]
146
- model.safetensors: 100%
147
-  499M/499M [00:11<00:00, 42.7MB/s]
148
- tokenizer_config.json: 100%
149
-  1.19k/1.19k [00:00<00:00, 69.8kB/s]
150
- vocab.json: 100%
151
-  999k/999k [00:00<00:00, 4.09MB/s]
152
- merges.txt: 100%
153
-  456k/456k [00:00<00:00, 2.61MB/s]
154
- special_tokens_map.json: 100%
155
-  958/958 [00:00<00:00, 57.4kB/s]
156
  Model and tokenizer loaded successfully!
157
  Loading test data...
158
  Evaluating the model...
 
28
  login("Replace with the key")
29
  ```
30
 
31
+ # Step 2: Define the preprocessing and dataset clas
32
 
33
+ Run the following class and functions designed to preprocess the test data
34
 
35
  ```python
36
  class NewsDataset(Dataset):
 
135
  # Expected output:
136
  ```python
137
  Loading model and tokenizer...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  Model and tokenizer loaded successfully!
139
  Loading test data...
140
  Evaluating the model...