File size: 1,154 Bytes
4a76cf4
 
 
 
 
 
 
 
 
 
 
 
5553a3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
datasets:
- FreedomIntelligence/alpaca-gpt4-indonesian
- FreedomIntelligence/evol-instruct-indonesian
- FreedomIntelligence/sharegpt-indonesian
- jakartaresearch/indoqa
language:
- id
library_name: transformers
pipeline_tag: text-generation
---

# Notebook Info
**Reference**:
- https://huggingface.co/docs/transformers/chat_templating
- https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/ai-services/openai/includes/chat-markup-language.md
- https://huggingface.co/datasets/FreedomIntelligence/alpaca-gpt4-indonesian
- https://huggingface.co/datasets/FreedomIntelligence/sharegpt-indonesian
- https://huggingface.co/datasets/FreedomIntelligence/evol-instruct-indonesian
- https://huggingface.co/datasets/jakartaresearch/indoqa


**Task**: Chat or Conversational
**Input**: User's prompt containing chat templated text in string format
**Output**: Model's generated text in string format

**Experiment**:
- Use bos and eos token to replace <|im_start|> and <|im_end|> in ChatML. (Inspired by: https://asmirnov.xyz/doppelganger)
- Penggunaan padding dan truncation sesuai max_length.
- Max length = 256, karena telah mengkonsumsi 33.7 GB.