File size: 1,686 Bytes
8177de4 5813454 cdfbf1c 6484f5e 7c8df22 cdfbf1c 6484f5e 7c8df22 cdfbf1c 7c8df22 cdfbf1c 7c8df22 cdfbf1c 7c8df22 cdfbf1c 7c8df22 cdfbf1c 7c8df22 cdfbf1c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
---
library_name: peft
base_model: meta-llama/Llama-2-7b-hf
license: llama2
datasets:
- freQuensy23/toxic-answers
language:
- en
---
# 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. -->
- **Developed by: t.me/freQuensy23
- **Model type: LLM (Llama2)
- **Language(s) (NLP): EN
- **License:** Llama-2-license
- **Finetuned from model [optional]: meta-llama/Llama-2-7b
### Model Sources [optional]
## How to Get Started with the Model
```python
import peft
import transformers
model = peft.AutoPeftModelForCausalLM.from_pretrained('freQuensy23/toxic-llama2')
tokenizer = transformers.AutoTokenizer.from_pretrained('transformers')
print(tokenizer.batch_decode(input_ids=tokenizer('User: What is 1 + 8?\nBot:', return_tensors='pt').input_ids))
```
[More Information Needed]
## Training Details
### Training Data
https://huggingface.co/freQuensy23/toxic-llama2
[More Information Needed]
### Results
## 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:** A-100
- **Hours used:** 1
- **Cloud Provider:** Yandex-cloud
- **Compute Region:** Moscow
- **Carbon Emitted:** 11g
## Model Card Contact
t.me/freQuensy23
github.com/freQuensy23-coder
[email protected]
### Framework versions
- PEFT 0.7.1 |