Comments (3)
예시에는 tokenizer에 truncation 옵션이 없었네요. tokenizer에 최근대화를 살릴지 과거 대화를 살릴 지에 따라서 truncation_side를 조정하신 뒤에 max length에 맞춰서 tokenize할 때 truncation을 해주시면 될 겁니다!
저 오류 자체는 아마 position_id가 max_length를 넘어가서 일어나는 문제 같은데 position_id를 늘리면 추론은 할 수야 있겠지만 어차피 학습했던 max_length보다 길게 주면 성능이 보존이 안될거라서 큰 의미를 없을 텐데 만약에 추가적으로 finetuning을 하실 거면 모델에서 position id를 늘려주시면 될 겁니다.
from 2021-dialogue-summary-competition.
답변 감사합니다. fine tuning으로 해결하였습니다. 이제 추가 학습을 하려고 하는데, 혹시 torchmetric 버전이 몇이신가요?
from 2021-dialogue-summary-competition.
음 torchmetrics는 버전을 잘 모르겠네요. 근데 lightning을 설치하시면 의존성에 들어있어서 적절하게 설치가 될 겁니다!
from 2021-dialogue-summary-competition.
Related Issues (6)
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 2021-dialogue-summary-competition.