Comments (2)
I used the generation capabilities of ChatGPT in the following manner:
I add this in prompt:
1. [A] has a subclass of [B].
2. [B] is a subclass of [A].
and It generated the following for me (starting the numbering from 3)
3. [A] is the parent class of [B].
4. [B] is a child class of [A].
5. [B] inherits from [A].
6. [A] is the base class for [B].
7. [B] is a derived class of [A].
8. [A] is a more general class than [B].
9. [B] is a more specific class than [A].
10. [A] is a supertype of [B].
11. [B] is a subtype of [A].
12. [A] is the superclass of [B].
13. [B] is a subclass of [A].
14. [A] is an ancestor class of [B].
15. [B] is a descendant class of [A].
Some of these could be a good template for us to extend our dataset for prompt engineering (if we want to do few-shot learning)
from llms4ol.
designed prompts for Task B:
{"placeholder": "text_a"} is the superclass of {"placeholder": "text_b"}. It is a {"mask"} statement.
{"placeholder": "text_b"} is a subclass of {"placeholder": "text_a"}. It is a {"mask"} statement.
{"placeholder": "text_a"} is the parent class of {"placeholder": "text_b"}. It is a {"mask"} statement.
{"placeholder": "text_b"} is a child class of {"placeholder": "text_a"}. It is a {"mask"} statement.
{"placeholder": "text_a"} is a supertype of {"placeholder": "text_b"}. It is a {"mask"} statement.
{"placeholder": "text_b"} is a subtype of {"placeholder": "text_a"}. It is a {"mask"} statement.
{"placeholder": "text_a"} is an ancestor class of {"placeholder": "text_b"}. It is a {"mask"} statement.
{"placeholder": "text_b"} is a descendant class of {"placeholder": "text_a"}. It is a {"mask"} statement.
This is the use of a prompt for a classification task!
from llms4ol.
Related Issues (20)
- Few Shot Llearning (FSL) HOT 2
- Inference BLOOM on Task A HOT 1
- Inference BLOOM on Task B HOT 1
- Inference BLOOM on Task C HOT 1
- Inference GPT2 on Task A HOT 1
- Inference GPT2 on Task B
- Inference GPT2 on Task C
- Inference GPT3 on Task B HOT 1
- Inference GPT3 on Task C HOT 1
- Inference GPT3 on Task A HOT 1
- Start implementation of training model for FSL
- Training FSL models
- Create a dataset for FSL
- Evaluate FSL on Task A-Test
- Evaluate FSL on Task B-Test
- Evaluate FSL on Task C-Test
- Create templates for FSL on datasets HOT 1
- basic question. How run it on windows ? HOT 8
- ToDo - improve repository quality
- Dataset Help 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 llms4ol.