Skip to content

allenai/instructLF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal-conditioned Latent Factor Discovery without Task Supervision


drawing

Steps to run:

  • Navigate to each task's folder
  • Run generate_concepts.py to propose attributes with LLM (need openai API key, or use open-source models)
  • Run train_nli.py to train compatibility estimation model
  • Run fit_corex.py to learn latent factor model
  • Run evaluate.py to get evaluation results (dataset/use-case specific, really)
  • Questions about the environment? See requirements.md

Using your own dataset?

  • The main part to modify is generate_concepts.py, specifically:
    • new data loading scripts
    • modify the instructions to LLMs to fit your task

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages