Comments (2)
Hi @Taehee-K ,
I also got the same error as you. Did you fix that error?
Can you show me the results?
from mlops-basics.
The solution to this is just to also include sentence
in your data batching:
self.train_data.set_format(
type="torch", columns=["input_ids", "attention_mask", "label", "sentence"]
and the same obviously for self.val_data.set_format()
and self.test_data.set_format()
.
from mlops-basics.
Related Issues (17)
- [Bug] Getting an error related to colorlog during the training HOT 2
- Is training happening? HOT 3
- Different module metrics for train/val HOT 2
- Advice how to deploy and run my docker image on my own local machine HOT 7
- Potential Error in Blog of Week 0 HOT 1
- Metric not matched between in `early_stopping_callbacks` (Week 1) HOT 1
- A question on week_0 HOT 5
- How to push a container to specific repository in GitHub Actions? HOT 2
- What is Postman? How to set it up? HOT 1
- Does it work on Windows? HOT 1
- AWS Lambda Function: Test error HOT 3
- Change Dimension of Softmax from 0 to 1 in modules from week 1 to 4
- Cannot use `load_dataset('glue', 'cola')` in Week0 requirements.txt
- Error with numpy and transformers modules
- DVCFiles alternative not working
- Lambda Environent Support for SQLite3 Older Versions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlops-basics.