|
--- |
|
license: mit |
|
language: |
|
- th |
|
- en |
|
base_model: aisingapore/sea-lion-7b-instruct |
|
datasets: |
|
- AIAT/Optimizer-datasetfinal |
|
pipeline_tag: text-generation |
|
--- |
|
## Sea-lion2pandas |
|
fine-tuned from [sea-lion-7b-instruct](aisingapore/sea-lion-7b-instruct) with question-pandas expression pairs. |
|
|
|
## How to use: |
|
```python |
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
from peft import PeftModel |
|
|
|
base_model = "aisingapore/sea-lion-7b-instruct" |
|
adapter_model = "AIAT/Optimizer-sealion2pandas" |
|
|
|
model = AutoModelForCausalLM.from_pretrained(base_model, trust_remote_code=True) |
|
model = PeftModel.from_pretrained(model, adapter_model, trust_remote_code=True) |
|
tokenizer = AutoTokenizer.from_pretrained(base_model, trust_remote_code=True) |
|
``` |
|
|
|
# sponser |
|
 |