Views
No views yet
.env file with the following access tokens:
GIT_ACCESS_TOKEN={ACCESS-TOKEN-TO-ACCESS-TAXONOMY-REPO} # this personal access token is used to access instruct-lab/taxonomy reposave_job_with_jinja_template(cfg, "templates/labrador_datagen_vela.yaml.j2", output_dir=f"jobs/{branch}")python orchestrator.py branch-namejobs directory.jobs directory something like test-7984f9cae729b798bed1ba222715b880.yamloc create -f jobs/yaml_name.yamlnew_data/labrador-datagen directory within the COS bucket mounted on the Vela cluster.text-generation-launcher -p 8080 --model-id mistralai/Mixtral-8x7B-Instruct-v0.1 --dtype bfloat16 --max-input-length 4096 --max-batch-prefill-tokens 4096 --max-total-tokens 12288 LEAF_NODE=knowledge/textbooks/ethics/qna.yaml # Path to the leaf node that you want to download
NUM_SAMPLES=30
NUM_GROUNDED_QUESTIONS=3
NUM_GEN_PROC=32
NUM_UTIL_PROC=8
SAVE_PATH=new_data/labrador_datagen # Path where you want to download the data
CONTEXT=0 # Set 0 for freeform and 1 for grounded
DATA_PATH=.
CHECKSUM=test
BRANCH_NAME=test # Branch name to download data from
KNOWLEDGE=1 # Set 0 for skills and 1 for knowledge
PARENT_DIR=$(dirname "$LEAF_NODE")
GIT_ACCESS_TOKEN= # Access token to access taxonomy repowget --header "Authorization: token $GIT_ACCESS_TOKEN" --directory-prefix="$DATA_PATH/$PARENT_DIR" "https://raw.githubusercontent.com/instruct-lab/taxonomy/$BRANCH_NAME/$LEAF_NODE"just runbash download_docs.shpython knowledge_generation_pipeline.py