Skip to content

herandy/Skill-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Here we present the accompanying code for the following paper

Skill-LLM: Repurposing General-Purpose LLMs for Skill Extraction

Make sure to install all the requirements first

pip install -r requirements.txt

If your account is able to download LLaMA 3 models, log into huggingface first

huggingface-cli login

For better loss logging, especially for GLiNER log into WandB

wandb login

Large Language Model fine tuning

To download the data and preprocess it from the root directory run

bash src/data_preparation.sh

To run training, validation generation and then get metrics from the root directory run

bash src/training.sh

GLiNER

For finetuning GLiNER you can find the relevant code under

src/gliner/gliner_raytune.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published