Comments (2)
It is either prompt or instruction. You would feed in prompt when the model in hand is not finetuned with an instruction dataset. On the other hand, you will feed in an instruction when one uses an instruction-finetuned model.
from mpttune.
I understand the prompt and instruction can't be passed together. Let's say I want to use one data point Alpaca dataset for inference after fine tuning. For example :
{
"instruction": "Identify the odd one out.",
"input": "Twitter, Instagram, Telegram",
"output": "Telegram"
}
How can I pass this instruction + input in the generate.py?
I need an argument for "input" here -
or do you have any other solution for it? How can I structure it in prompt?
from mpttune.
Related Issues (12)
- What the structure of the dataset needs to be ? HOT 5
- Add license HOT 1
- cannot import name '_get_submodules' from 'peft.utils HOT 3
- Few questions on fine tuning
- mpt-7b and mpt-7b-instruct - fail to start in colab. HOT 2
- Change Context Length of MPT-7B-Instruct ? HOT 1
- Can this run on multi GPU setup? HOT 1
- How to load model from check point and save?
- support for MPT- 30b HOT 2
- output, instruction, input have been ignored HOT 1
- How to save the model after fine-tuning HOT 1
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 mpttune.