Git Product home page Git Product logo

code-llama-fim-fine-tuning's Issues

Fail to reproduce results in a published paper

I try to use your hyperparameters to verify your paper, bug the result is differernt from yours. I use these hyperparameters:

--model_name_or_path "..."
--dataset_file_name "..."
--splits "train"
--max_seq_len 4096
--max_steps 1000
--save_steps 100
--eval_steps 100
--logging_steps 1
--log_level "info"
--logging_strategy "steps"
--evaluation_strategy "steps"
--save_strategy "steps"
--push_to_hub False
--bf16 False
--fp16 True
--learning_rate 2e-4
--lr_scheduler_type "cosine"
--weight_decay 0.1
--warmup_ratio 0.05
--max_grad_norm 1.0
--output_dir "fine-tune-19-54"
--per_device_train_batch_size 1
--per_device_eval_batch_size 1
--gradient_accumulation_steps 8
--gradient_checkpointing True
--use_reentrant True
--dataset_text_field "content"
--test_size 0.1
--fim_rate 0.9
--fim_spm_rate 0.5
--use_peft_lora True
--lora_r 32
--lora_alpha 64
--lora_dropout 0.1
--lora_target_modules "all-linear"
--use_4bit_quantization True
--use_nested_quant True
--bnb_4bit_compute_dtype "bfloat16"
--use_flash_attn False

If you don't mind, can you share the hyperparameters used to train the original Code-Llama?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.