Instructions to use andrianangg/result with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use andrianangg/result with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Yellow-AI-NLP/komodo-7b-base") model = PeftModel.from_pretrained(base_model, "andrianangg/result") - Notebooks
- Google Colab
- Kaggle
ner-llama-conll2003
Browse filesFiles changed (10)
- README.mdAdded+71
- adapter_config.jsonAdded+32
- adapter_model.safetensorsAdded+3
- runs/Aug07_22-28-55_eabface892d6/events.out.tfevents.1723069736.eabface892d6.1705.0Added+3
- runs/Aug07_22-28-55_eabface892d6/events.out.tfevents.1723078223.eabface892d6.1705.1Added+3
- special_tokens_map.jsonAdded+30
- tokenizer.jsonAdded
- tokenizer.modelAdded+3
- tokenizer_config.jsonAdded+41
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---base_model: NousResearch/Llama-2-7b-hfdatasets:- conll2003library_name: peftmetrics:- precision- recall- f1- accuracytags:- generated_from_trainermodel-index:- name: result results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# result
This model is a fine-tuned version of [NousResearch/Llama-2-7b-hf](https://huggingface.co/NousResearch/Llama-2-7b-hf) on the conll2003 dataset.It achieves the following results on the evaluation set:- Loss: nan- Precision: 0.0- Recall: 0.0- F1: 0.0- Accuracy: 0.8274
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|| 0.0 | 1.0 | 1756 | nan | 0.0 | 0.0 | 0.0 | 0.8339 || 0.0 | 2.0 | 3512 | nan | 0.0 | 0.0 | 0.0 | 0.8339 || 0.0 | 3.0 | 5268 | nan | 0.0 | 0.0 | 0.0 | 0.8339 |
### Framework versions
- PEFT 0.12.0- Transformers 4.42.4- Pytorch 2.3.1+cu121- Datasets 2.20.0- Tokenizers 0.19.11234567891011121314151617181920212223242526272829303132{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "NousResearch/Llama-2-7b-hf", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 8, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "classifier", "score" ], "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "v_proj" ], "task_type": "TOKEN_CLS", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:e46314a1713e92bc43fa5cab97dbbbb5d2b44c649af796bcdca9cbb3abec3f11size 16868138123version https://git-lfs.github.com/spec/v1oid sha256:04444915d6ce5d7b0135b0432d517f489473066c9a8d6d2df537d4b3246ce30asize 9599123version https://git-lfs.github.com/spec/v1oid sha256:d5a89bc2c80d3c67d55ef3a1d7483c0e6c9699514f5b0a293a6587c96abd62d9size 560123456789101112131415161718192021222324252627282930{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347size 4997231234567891011121314151617181920212223242526272829303132333435363738394041{ "add_bos_token": true, "add_eos_token": false, "add_prefix_space": null, "added_tokens_decoder": { "0": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "eos_token": "</s>", "legacy": false, "model_max_length": 1000000000000000019884624838656, "pad_token": "<unk>", "sp_model_kwargs": {}, "tokenizer_class": "LlamaTokenizer", "unk_token": "<unk>", "use_default_system_prompt": false}123version https://git-lfs.github.com/spec/v1oid sha256:ceb61393bfd1f690a71a05b202ce34e6eec4297f81d4d53cacf9ee0dd1632d9dsize 5112README.mdAdded+71
adapter_config.jsonAdded+32
adapter_model.safetensorsAdded+3
runs/Aug07_22-28-55_eabface892d6/events.out.tfevents.1723069736.eabface892d6.1705.0Added+3
runs/Aug07_22-28-55_eabface892d6/events.out.tfevents.1723078223.eabface892d6.1705.1Added+3
special_tokens_map.jsonAdded+30
tokenizer.jsonAdded
tokenizer.modelAdded+3
tokenizer_config.jsonAdded+41
training_args.binAdded+3