Comments (3)
s3쪽 이슈를 직접 해결할 수 없어 koelectra-base-finetuned-nsmc
를 koelectra-base-finetuned-sentiment
로 이름을 변경하여 재업로드함
from koelectra-pipeline.
s3쪽 이슈를 직접 해결할 수 없어
koelectra-base-finetuned-nsmc
를koelectra-base-finetuned-sentiment
로 이름을 변경하여 재업로드함
안녕하세요.. koelectra-base-finetuned-nsmc대신,
koelectra-base-finetuned-sentiment를 사용해봤는데, nsmc와 다르게 결과가 계속 0.5에 가까운값만 나오는데.. 확인해주실수있나요?
from koelectra-pipeline.
3달 전에 이 모델을 처음 만들 때는 transformers==2.9.0
이었고, ElectraForSequenceClassification
이 공식적으로 지원되지 않았습니다.
이에 제가 직접 ElectraForSequenceClassification
을 만들어서 사용하였습니다. (code) 그리고 이를 이용하여 학습한 모델이 koelectra-base-finetuned-sentiment
입니다
그러다가 transformers==2.11.0
으로 가면서 ElectraForSequenceClassification
이 공식적으로 라이브러리에서 지원되었는데, 제가 model.py
에서 구현한 것과는 형태가 좀 다릅니다 (code)
- dropout이 2개로 추가됨
- gelu가 중간중간 사용됨
그럼에도 model.py
라는 파일없이 transformers
만 있으면 pipeline을 사용할 수 있게 코드를 만들고 싶었고, 이에 transformers
에서 구현된 ElectraForSequenceClassification
를 이용하여 다시 학습했고, 그 모델이 koelectra-base-finetuned-nsmc
입니다. (때마침 이전에 있던 s3 이슈도 해결되었고요)
결론은 koelectra-base-finetuned-sentiment
는 model.py와 같이 쓰셔야 합니다. 현 레포에서는 deprecated입니다.
from koelectra-pipeline.
Related Issues (2)
- Finetune POS HOT 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 koelectra-pipeline.