初始化项目,由ModelHub XC社区提供模型
Model: cdomingoenrich/qwen15_code200tok_step1750 Source: Original Platform
This commit is contained in:
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
199
README.md
Normal file
199
README.md
Normal file
@@ -0,0 +1,199 @@
|
||||
---
|
||||
library_name: transformers
|
||||
tags: []
|
||||
---
|
||||
|
||||
# Model Card for Model ID
|
||||
|
||||
<!-- Provide a quick summary of what the model is/does. -->
|
||||
|
||||
|
||||
|
||||
## Model Details
|
||||
|
||||
### Model Description
|
||||
|
||||
<!-- Provide a longer summary of what this model is. -->
|
||||
|
||||
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
||||
|
||||
- **Developed by:** [More Information Needed]
|
||||
- **Funded by [optional]:** [More Information Needed]
|
||||
- **Shared by [optional]:** [More Information Needed]
|
||||
- **Model type:** [More Information Needed]
|
||||
- **Language(s) (NLP):** [More Information Needed]
|
||||
- **License:** [More Information Needed]
|
||||
- **Finetuned from model [optional]:** [More Information Needed]
|
||||
|
||||
### Model Sources [optional]
|
||||
|
||||
<!-- Provide the basic links for the model. -->
|
||||
|
||||
- **Repository:** [More Information Needed]
|
||||
- **Paper [optional]:** [More Information Needed]
|
||||
- **Demo [optional]:** [More Information Needed]
|
||||
|
||||
## Uses
|
||||
|
||||
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
||||
|
||||
### Direct Use
|
||||
|
||||
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Downstream Use [optional]
|
||||
|
||||
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Out-of-Scope Use
|
||||
|
||||
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Bias, Risks, and Limitations
|
||||
|
||||
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Recommendations
|
||||
|
||||
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
||||
|
||||
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
||||
|
||||
## How to Get Started with the Model
|
||||
|
||||
Use the code below to get started with the model.
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Training Details
|
||||
|
||||
### Training Data
|
||||
|
||||
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Training Procedure
|
||||
|
||||
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
||||
|
||||
#### Preprocessing [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
|
||||
#### Training Hyperparameters
|
||||
|
||||
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
||||
|
||||
#### Speeds, Sizes, Times [optional]
|
||||
|
||||
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Evaluation
|
||||
|
||||
<!-- This section describes the evaluation protocols and provides the results. -->
|
||||
|
||||
### Testing Data, Factors & Metrics
|
||||
|
||||
#### Testing Data
|
||||
|
||||
<!-- This should link to a Dataset Card if possible. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Factors
|
||||
|
||||
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Metrics
|
||||
|
||||
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Results
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Summary
|
||||
|
||||
|
||||
|
||||
## Model Examination [optional]
|
||||
|
||||
<!-- Relevant interpretability work for the model goes here -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Environmental Impact
|
||||
|
||||
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
||||
|
||||
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
||||
|
||||
- **Hardware Type:** [More Information Needed]
|
||||
- **Hours used:** [More Information Needed]
|
||||
- **Cloud Provider:** [More Information Needed]
|
||||
- **Compute Region:** [More Information Needed]
|
||||
- **Carbon Emitted:** [More Information Needed]
|
||||
|
||||
## Technical Specifications [optional]
|
||||
|
||||
### Model Architecture and Objective
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Compute Infrastructure
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Hardware
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Software
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Citation [optional]
|
||||
|
||||
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
||||
|
||||
**BibTeX:**
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
**APA:**
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Glossary [optional]
|
||||
|
||||
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## More Information [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Model Card Authors [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Model Card Contact
|
||||
|
||||
[More Information Needed]
|
||||
24
added_tokens.json
Normal file
24
added_tokens.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"</tool_call>": 151658,
|
||||
"<tool_call>": 151657,
|
||||
"<|box_end|>": 151649,
|
||||
"<|box_start|>": 151648,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|image_pad|>": 151655,
|
||||
"<|object_ref_end|>": 151647,
|
||||
"<|object_ref_start|>": 151646,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|video_pad|>": 151656,
|
||||
"<|vision_end|>": 151653,
|
||||
"<|vision_pad|>": 151654,
|
||||
"<|vision_start|>": 151652
|
||||
}
|
||||
54
chat_template.jinja
Normal file
54
chat_template.jinja
Normal file
@@ -0,0 +1,54 @@
|
||||
{%- if tools %}
|
||||
{{- '<|im_start|>system\n' }}
|
||||
{%- if messages[0]['role'] == 'system' %}
|
||||
{{- messages[0]['content'] }}
|
||||
{%- else %}
|
||||
{{- 'You are a helpful assistant.' }}
|
||||
{%- endif %}
|
||||
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||
{%- for tool in tools %}
|
||||
{{- "\n" }}
|
||||
{{- tool | tojson }}
|
||||
{%- endfor %}
|
||||
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
||||
{%- else %}
|
||||
{%- if messages[0]['role'] == 'system' %}
|
||||
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- for message in messages %}
|
||||
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
||||
{%- elif message.role == "assistant" %}
|
||||
{{- '<|im_start|>' + message.role }}
|
||||
{%- if message.content %}
|
||||
{{- '\n' + message.content }}
|
||||
{%- endif %}
|
||||
{%- for tool_call in message.tool_calls %}
|
||||
{%- if tool_call.function is defined %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_call>\n{"name": "' }}
|
||||
{{- tool_call.name }}
|
||||
{{- '", "arguments": ' }}
|
||||
{{- tool_call.arguments | tojson }}
|
||||
{{- '}\n</tool_call>' }}
|
||||
{%- endfor %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- elif message.role == "tool" %}
|
||||
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
||||
{{- '<|im_start|>user' }}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_response>\n' }}
|
||||
{{- message.content }}
|
||||
{{- '\n</tool_response>' }}
|
||||
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if add_generation_prompt %}
|
||||
{{- '<|im_start|>assistant\n' }}
|
||||
{%- endif %}
|
||||
59
config.json
Normal file
59
config.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Qwen2ForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151643,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 1536,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 8960,
|
||||
"layer_types": [
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention"
|
||||
],
|
||||
"max_position_embeddings": 131072,
|
||||
"max_window_layers": 28,
|
||||
"model_type": "qwen2",
|
||||
"num_attention_heads": 12,
|
||||
"num_hidden_layers": 28,
|
||||
"num_key_value_heads": 2,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": true,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.55.2",
|
||||
"use_cache": false,
|
||||
"use_mrope": false,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 151936
|
||||
}
|
||||
6
generation_config.json
Normal file
6
generation_config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151643,
|
||||
"max_new_tokens": 2048,
|
||||
"transformers_version": "4.55.2"
|
||||
}
|
||||
151388
merges.txt
Normal file
151388
merges.txt
Normal file
File diff suppressed because it is too large
Load Diff
3
model.safetensors
Normal file
3
model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:68cc4daac794bde4f01d0287214734109b5649b81fbc482c453e99faa2877500
|
||||
size 3087467144
|
||||
235
run_config.json
Normal file
235
run_config.json
Normal file
@@ -0,0 +1,235 @@
|
||||
{
|
||||
"args": {
|
||||
"actor_freeze": 0,
|
||||
"actor_init_on_gpu": false,
|
||||
"actor_learning_rate": 1e-05,
|
||||
"actor_lr_warmup_ratio": null,
|
||||
"actor_num_gpus_per_node": 1,
|
||||
"actor_num_nodes": 1,
|
||||
"actor_train_period": null,
|
||||
"adam_betas": [
|
||||
0.9,
|
||||
0.95
|
||||
],
|
||||
"adam_offload": true,
|
||||
"advantage_estimator": "rloo",
|
||||
"agent_func_path": null,
|
||||
"apply_chat_template": false,
|
||||
"async_train": false,
|
||||
"aux_loss_coef": 0,
|
||||
"bf16": true,
|
||||
"bigcodebench_max_samples": 1140,
|
||||
"bleu_n_gram": 1,
|
||||
"ce_horizon": null,
|
||||
"ckpt_path": "./ed_checkpoints/ed_sweep_actor_freeze_0_a_lr_1e-05_ctx_2_c_bb_0_c_lr_0.0_c_lr_head_0.0_cpt_qwen15_dm_False_freezing_actor_steps_-1_gen_2_ce_1.0_pt_qwen15_qm_False_rt_0.0_str_2_wh_False/ckpt",
|
||||
"classifier_sequence_selection": "closest",
|
||||
"colocate_actor_ref": false,
|
||||
"colocate_all_models": true,
|
||||
"colocate_critic_reward": false,
|
||||
"colocate_reward_models": false,
|
||||
"context_max_len": 2,
|
||||
"critic_backbone_freeze": 0,
|
||||
"critic_bradley_terry_loss_coef": 0.0,
|
||||
"critic_ce_loss_coef": 0.0,
|
||||
"critic_class_loss_coef": 0.0,
|
||||
"critic_embedding_infonce_loss_coef": 0.0,
|
||||
"critic_infonce_loss_coef": 1.0,
|
||||
"critic_learning_rate": 0.0,
|
||||
"critic_loss_choice": "log",
|
||||
"critic_lr_head": 0.0,
|
||||
"critic_lr_scheduler": "constant_with_warmup",
|
||||
"critic_lr_warmup_ratio": null,
|
||||
"critic_mom_loss_coef": 0.0,
|
||||
"critic_mom_sequence_level": "last_token",
|
||||
"critic_num_gpus_per_node": 1,
|
||||
"critic_num_nodes": 1,
|
||||
"critic_pretrain": "Qwen/Qwen2.5-1.5B",
|
||||
"critic_reward_horizon": null,
|
||||
"critic_reward_start": null,
|
||||
"critic_reward_target": 0.0,
|
||||
"critic_sequence_level": "last_token",
|
||||
"critic_train_interval": 1,
|
||||
"critic_train_period": null,
|
||||
"debug": false,
|
||||
"deepcompile": false,
|
||||
"deepspeed_enable_sleep": false,
|
||||
"disable_ds_ckpt": true,
|
||||
"disable_fast_tokenizer": false,
|
||||
"document_masking": false,
|
||||
"ds_tensor_parallel_size": 1,
|
||||
"dual_clip": null,
|
||||
"dynamic_filtering": false,
|
||||
"dynamic_filtering_reward_range": [
|
||||
0,
|
||||
1
|
||||
],
|
||||
"ema_beta": 0.9,
|
||||
"embed_method": "last_token",
|
||||
"embedding_infonce_hard_negative_k": 0,
|
||||
"embedding_infonce_ignore_sim_threshold": null,
|
||||
"embedding_infonce_ignore_top_k": 1,
|
||||
"embedding_infonce_min_negatives": 0,
|
||||
"embedding_infonce_mismatched_real_k": 0,
|
||||
"embedding_infonce_temperature": 0.1,
|
||||
"enable_ema": true,
|
||||
"enable_prefix_caching": false,
|
||||
"enforce_eager": false,
|
||||
"entropy_loss_coef": null,
|
||||
"eps_clip": 0.2,
|
||||
"eps_clip_low_high": [
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
"eval_batch_size": 16,
|
||||
"eval_dataset": "sjelassi/opencode-instruct_100k_200tok",
|
||||
"eval_down_batch_size": 128,
|
||||
"eval_down_max_samples": 128,
|
||||
"eval_down_steps": 50,
|
||||
"eval_generate_max_len": 512,
|
||||
"eval_max_samples": 128,
|
||||
"eval_mt_batch_size": 1,
|
||||
"eval_mt_max_samples": 8,
|
||||
"eval_mt_steps": -1,
|
||||
"eval_n_samples_per_prompt": 4,
|
||||
"eval_n_samples_per_prompt_down": 4,
|
||||
"eval_n_samples_per_prompt_mt": 100,
|
||||
"eval_split": "test",
|
||||
"eval_steps": -1,
|
||||
"eval_temperature": 1.0,
|
||||
"eval_temperature_down": 1.0,
|
||||
"eval_temperature_mt": 1.0,
|
||||
"flash_attn": false,
|
||||
"freezing_actor_steps": -1,
|
||||
"full_determinism": false,
|
||||
"gamma": 1,
|
||||
"generate_max_len": 2,
|
||||
"grad_accum_dtype": null,
|
||||
"gradient_checkpointing": true,
|
||||
"gradient_checkpointing_use_reentrant": false,
|
||||
"hidden_state_method": "concat",
|
||||
"humaneval_max_samples": 164,
|
||||
"init_ce_coef": 1.0,
|
||||
"init_kl_coef": 0.0,
|
||||
"input_key": "question",
|
||||
"input_template": null,
|
||||
"keep_critic_on": false,
|
||||
"kl_estimator": "k2",
|
||||
"kl_horizon": null,
|
||||
"kl_target": null,
|
||||
"l2": 0.0,
|
||||
"label_key": "answer",
|
||||
"lambd": 1,
|
||||
"load_actor_checkpoint": false,
|
||||
"load_critic_checkpoint": false,
|
||||
"load_in_4bit": false,
|
||||
"local_rank": -1,
|
||||
"log_gradients": true,
|
||||
"logging_steps": 1,
|
||||
"lora_alpha": 16,
|
||||
"lora_dropout": 0,
|
||||
"lora_rank": 0,
|
||||
"lr_scheduler": "constant_with_warmup",
|
||||
"lr_warmup_ratio": 0.03,
|
||||
"max_ckpt_mem": 100000000.0,
|
||||
"max_ckpt_num": 3,
|
||||
"max_epochs": 1,
|
||||
"max_len": null,
|
||||
"max_norm": 1.0,
|
||||
"max_samples": -1,
|
||||
"mbpp_max_samples": 974,
|
||||
"micro_reward_batch_size": 8,
|
||||
"micro_rollout_batch_size": 8,
|
||||
"micro_train_batch_size": 8,
|
||||
"mom_reward_target": 1.0,
|
||||
"n_samples_per_prompt": 4,
|
||||
"no_advantage_std_norm": false,
|
||||
"normalize_reward": false,
|
||||
"num_episodes": 1,
|
||||
"output_key": "answer",
|
||||
"overlap_comm": false,
|
||||
"overlong_buffer_len": null,
|
||||
"overlong_penalty_factor": 1,
|
||||
"packing_samples": false,
|
||||
"perf": false,
|
||||
"policy_loss_type": "ppo",
|
||||
"pos_rew_coef": 1.0,
|
||||
"pretrain": "Qwen/Qwen2.5-1.5B",
|
||||
"pretrain_mode": true,
|
||||
"prompt_data": "sjelassi/opencode-instruct_100k_200tok",
|
||||
"prompt_data_probs": null,
|
||||
"prompt_max_len": 1024,
|
||||
"prompt_split": "train",
|
||||
"ptx_coef": 0.05,
|
||||
"qa_masking": false,
|
||||
"ref_num_gpus_per_node": 1,
|
||||
"ref_num_nodes": 1,
|
||||
"ref_reward_offload": false,
|
||||
"reinit_critic": false,
|
||||
"remote_rm_url": null,
|
||||
"reward_choice": "gan",
|
||||
"reward_clip_range": [
|
||||
-10,
|
||||
10
|
||||
],
|
||||
"reward_num_gpus_per_node": 1,
|
||||
"reward_num_nodes": 1,
|
||||
"reward_pretrain": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
|
||||
"rff_factor": 1.0,
|
||||
"rff_features": 1024,
|
||||
"ring_attn_size": 1,
|
||||
"ring_head_stride": 1,
|
||||
"rl_horizon": null,
|
||||
"rl_start": null,
|
||||
"rl_target": 0.0,
|
||||
"rollout_batch_size": 16,
|
||||
"rollout_max_tokens_per_gpu": null,
|
||||
"save_hf_ckpt": true,
|
||||
"save_log_scale_count": -1,
|
||||
"save_path": "./ed_checkpoints/ed_sweep_actor_freeze_0_a_lr_1e-05_ctx_2_c_bb_0_c_lr_0.0_c_lr_head_0.0_cpt_qwen15_dm_False_freezing_actor_steps_-1_gen_2_ce_1.0_pt_qwen15_qm_False_rt_0.0_str_2_wh_False",
|
||||
"save_steps": 250,
|
||||
"save_value_network": false,
|
||||
"seed": 43,
|
||||
"slurm_job": "None_0",
|
||||
"stride": 2,
|
||||
"target_modules": "all-linear",
|
||||
"temperature": 1.0,
|
||||
"top_p": 1.0,
|
||||
"train_batch_size": 64,
|
||||
"train_max_tokens_per_gpu": 16192,
|
||||
"use_ds_universal_ckpt": false,
|
||||
"use_dynamic_batch": false,
|
||||
"use_kl_loss": true,
|
||||
"use_liger_kernel": false,
|
||||
"use_ms": false,
|
||||
"use_rff_kernel": true,
|
||||
"use_spectral_norm": false,
|
||||
"use_tensorboard": null,
|
||||
"use_wandb": "629a07f37adb439bb40b4f10d84afe378a0a30ca",
|
||||
"use_whitening": false,
|
||||
"use_whitening_critic": false,
|
||||
"value_clip": 0.5,
|
||||
"value_head_prefix": "score",
|
||||
"vllm_enable_sleep": false,
|
||||
"vllm_generate_batch_size": 16,
|
||||
"vllm_gpu_memory_utilization": 0.95,
|
||||
"vllm_num_engines": null,
|
||||
"vllm_sync_backend": "nccl",
|
||||
"vllm_sync_with_ray": false,
|
||||
"vllm_tensor_parallel_size": 1,
|
||||
"wandb_group": null,
|
||||
"wandb_org": null,
|
||||
"wandb_project": "openrlhf_carles_runs",
|
||||
"wandb_run_name": "ed_sweep_actor_freeze_0_a_lr_1e-05_ctx_2_c_bb_0_c_lr_0.0_c_lr_head_0.0_cpt_qwen15_dm_False_freezing_actor_steps_-1_gen_2_ce_1.0_pt_qwen15_qm_False_rt_0.0_str_2_wh_False",
|
||||
"zero_stage": 2,
|
||||
"zpg": 1
|
||||
},
|
||||
"client_states": {
|
||||
"data_loader_state_dict": "<omitted>",
|
||||
"episode": 0,
|
||||
"global_step": 1750
|
||||
},
|
||||
"cwd": "/data/ebm_openrlhf",
|
||||
"hostname": "ebm12-0-worker-0",
|
||||
"tag": "global_step1750",
|
||||
"timestamp": "2026-01-10T04:03:41.691610+00:00"
|
||||
}
|
||||
31
special_tokens_map.json
Normal file
31
special_tokens_map.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"eos_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
3
tokenizer.json
Normal file
3
tokenizer.json
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
||||
size 11421896
|
||||
207
tokenizer_config.json
Normal file
207
tokenizer_config.json
Normal file
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|endoftext|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
1
vocab.json
Normal file
1
vocab.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user