tigerlinlxt
commited on
Commit
•
22cc656
1
Parent(s):
e6603d4
Update README.md
Browse filesConvert News Outlet to outlet
README.md
CHANGED
@@ -277,7 +277,7 @@ streamlit run eval_pipeline.py
|
|
277 |
- Index column (automatic numbering)
|
278 |
- "title": The news headline text
|
279 |
- "label": Binary label (0 for Fox News, 1 for NBC News)
|
280 |
-
- "
|
281 |
|
282 |
2. **View Evaluation Results**:
|
283 |
The pipeline will display:
|
@@ -290,7 +290,7 @@ streamlit run eval_pipeline.py
|
|
290 |
|
291 |
### Sample Data Format
|
292 |
```csv
|
293 |
-
,title,label,
|
294 |
0,"Jack Carr's take on the late Tom Clancy, born on this day in 1947",0,Fox News
|
295 |
1,"Feeding America CEO asks community to help others amid today's high inflation",0,Fox News
|
296 |
2,"World Food Programme Director Cindy McCain: Northern Gaza is in a 'full-blown famine'",1,NBC News
|
@@ -329,9 +329,9 @@ Common issues and solutions:
|
|
329 |
- Reduce batch size if memory constraints exist
|
330 |
|
331 |
3. **File Format Error**:
|
332 |
-
- Ensure CSV file has exact column names: "title", "label", "
|
333 |
- Verify label values are 0 or 1
|
334 |
-
- Confirm "
|
335 |
|
336 |
## License
|
337 |
This project is licensed under the MIT License.
|
|
|
277 |
- Index column (automatic numbering)
|
278 |
- "title": The news headline text
|
279 |
- "label": Binary label (0 for Fox News, 1 for NBC News)
|
280 |
+
- "outlet": The source ("Fox News" or "NBC News")
|
281 |
|
282 |
2. **View Evaluation Results**:
|
283 |
The pipeline will display:
|
|
|
290 |
|
291 |
### Sample Data Format
|
292 |
```csv
|
293 |
+
,title,label,outlet
|
294 |
0,"Jack Carr's take on the late Tom Clancy, born on this day in 1947",0,Fox News
|
295 |
1,"Feeding America CEO asks community to help others amid today's high inflation",0,Fox News
|
296 |
2,"World Food Programme Director Cindy McCain: Northern Gaza is in a 'full-blown famine'",1,NBC News
|
|
|
329 |
- Reduce batch size if memory constraints exist
|
330 |
|
331 |
3. **File Format Error**:
|
332 |
+
- Ensure CSV file has exact column names: "title", "label", "outlet"
|
333 |
- Verify label values are 0 or 1
|
334 |
+
- Confirm "outlet" values are exactly "Fox News" or "NBC News"
|
335 |
|
336 |
## License
|
337 |
This project is licensed under the MIT License.
|