Comments (6)
I want to apply the Contrastive Search method on a BART model. I modified the code, but I got very bad results. I'm not sure if this is because of my code implementation or the model structure. Thank you in advance for your answer.
from simctg.
I want to apply the Contrastive Search method on a BART model. I modified the code, but I got very bad results. I'm not sure if this is because of my code implementation or the model structure. Thank you in advance for your answer.
Hi, thank you for your interest in our work. Actually, I tried contrastive search on encoder-decoder model before and it works reasonably well. Could you drop me an email ([email protected]) then I can share you the code?
from simctg.
Thank you so much!
from simctg.
@yxuansu Can you please add guidelines how we can adopt this code for BART models ?
from simctg.
@yxuansu Can you please add guidelines how we can adopt this code for BART models ?
@Atharva-Phatak Hi, you can check here (https://github.com/yxuansu/SimCTG#12-simctg-elsewhere). They provide a really good implementation of how to adapt it on T5 model.
from simctg.
@Atharva-Phatak @maojinyang
Hi,
Just for your information, we have provided instructions of how to apply contrastive search on encoder-decoder models in the repo. Please find more details here (https://github.com/yxuansu/SimCTG/tree/main/SimCTGEncDec).
from simctg.
Related Issues (20)
- 请问contrastive loss对生成的影响程度如何,应如何定义contrastive loss和生成的cross-entropy loss的权重大小? HOT 2
- Dialogue generation training with simctg library HOT 1
- fast_contrastive_search只支持batch_size=1吗 HOT 1
- about contrastive search HOT 1
- Typo in story_generation part HOT 1
- license file HOT 6
- Bloom Ai HOT 3
- about the repetition of the ground-turth HOT 3
- SimCTGT5和fast_contrastive_search相关问题(EncDecContrastiveDecodingOneStepFast) HOT 2
- Contrastive Training loss的部分疑惑 HOT 1
- Questions about Document Generation HOT 1
- Questions about evaluation metrics coherence and gen-ppl?
- About metric reproduction
- What's the difference between SimCTG and CnNT?
- Can you provide BartModel for SimCTG code?
- SimCTG BART training
- pip install error HOT 2
- Question about replicating the MAUVE scores HOT 3
- similar sentence generation HOT 2
- 关于fast_contrastive_search实现中新生成的token的embedding的理解(hv) 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 simctg.