maywell / TinyWand-DPO

huggingface.co
Total runs: 101
24-hour runs: 0
7-day runs: -7
30-day runs: 20
Model's Last Updated: February 02 2024
text-generation

Introduction of TinyWand-DPO

Model Details of TinyWand-DPO

TinyWand-DPO

한국어 모델 설명

1.63B, 하찮은 크기의 SLM은 어떨까요?

모델 소개

TinyWand-DPO 는 1.63B의 SLM 모델입니다. 이 모델은 1.63B라는 작은 크기를 가짐으로써 소형기기에서 구동되거나 큰 toks/s를 가질 수 있음과 동시에 강력한 성능을 보여줍니다.

모델 라이센스

OPEN

모델 성능

TBD

학습 과정

TBD

사용 안내

추론에 필요한 VRAM

양자화 입력 토큰 수 출력 토큰 수 메모리 사용량
bf16(base) 64 256 3,888 MiB
q4_K_M 64 256 1,788 MiB

프롬프트 템플릿

본 모델은 Alpaca 프롬프트 템플릿을 사용합니다.

해당 템플릿은 apply_chat_template() 를 통해 허깅페이스 템플릿 에서 확인 하실 수 있습니다.

아래 파이썬 코드를 사용하여 모델을 로드 및 사용 할 수 있습니다. transformers, torch가 사전 설치되어야함

from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda" # nvidia 그래픽카드 기준

tokenizer = AutoTokenizer.from_pretrained("maywell/TinyWand-DPO")
model = AutoModelForCausalLM.from_pretrained(
    "maywell/TinyWand-DPO",
    device_map="auto",
    torch_dtype=torch.bfloat16, # 사용하는 장비가 bfloat16을 지원하지 않는 경우 torch.float16으로 바꿔주세요.
)

messages = [
    {"role": "system", "content": "Below is an instruction that describes a task. Write a response that appropriately completes the request."}, # 비울 경우에도 동일하게 적용 됨.
    {"role": "user", "content": "언어모델의 파라미터 수가 작으면 어떤 이점이 있어?"},
]

encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")

model_inputs = encodeds.to(device)
model.to(device)

generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])

Runs of maywell TinyWand-DPO on huggingface.co

101
Total runs
0
24-hour runs
-3
3-day runs
-7
7-day runs
20
30-day runs

More Information About TinyWand-DPO huggingface.co Model

More TinyWand-DPO license Visit here:

https://choosealicense.com/licenses/apache-2.0

TinyWand-DPO huggingface.co

TinyWand-DPO huggingface.co is an AI model on huggingface.co that provides TinyWand-DPO's model effect (), which can be used instantly with this maywell TinyWand-DPO model. huggingface.co supports a free trial of the TinyWand-DPO model, and also provides paid use of the TinyWand-DPO. Support call TinyWand-DPO model through api, including Node.js, Python, http.

TinyWand-DPO huggingface.co Url

https://huggingface.co/maywell/TinyWand-DPO

maywell TinyWand-DPO online free

TinyWand-DPO huggingface.co is an online trial and call api platform, which integrates TinyWand-DPO's modeling effects, including api services, and provides a free online trial of TinyWand-DPO, you can try TinyWand-DPO online for free by clicking the link below.

maywell TinyWand-DPO online free url in huggingface.co:

https://huggingface.co/maywell/TinyWand-DPO

TinyWand-DPO install

TinyWand-DPO is an open source model from GitHub that offers a free installation service, and any user can find TinyWand-DPO on GitHub to install. At the same time, huggingface.co provides the effect of TinyWand-DPO install, users can directly use TinyWand-DPO installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

TinyWand-DPO install url in huggingface.co:

https://huggingface.co/maywell/TinyWand-DPO

Url of TinyWand-DPO

TinyWand-DPO huggingface.co Url

Provider of TinyWand-DPO huggingface.co

maywell
ORGANIZATIONS

Other API from maywell

huggingface.co

Total runs: 127
Run Growth: -376
Growth Rate: -296.06%
Updated:January 07 2024
huggingface.co

Total runs: 122
Run Growth: -349
Growth Rate: -286.07%
Updated:January 15 2024
huggingface.co

Total runs: 115
Run Growth: -14
Growth Rate: -12.17%
Updated:February 19 2024
huggingface.co

Total runs: 112
Run Growth: -353
Growth Rate: -315.18%
Updated:December 17 2023
huggingface.co

Total runs: 27
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2025
huggingface.co

Total runs: 22
Run Growth: 14
Growth Rate: 63.64%
Updated:April 30 2024
huggingface.co

Total runs: 15
Run Growth: 10
Growth Rate: 66.67%
Updated:November 15 2023
huggingface.co

Total runs: 9
Run Growth: 5
Growth Rate: 55.56%
Updated:November 13 2023
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:December 14 2024
huggingface.co

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:December 02 2023
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:July 31 2024