Text Generation
Transformers
PyTorch
Safetensors
llama
text-generation-inference
Inference Endpoints
heegyu's picture
Create README.md
681a204
|
raw
history blame
2.25 kB
metadata
license: cc-by-sa-4.0
datasets:
  - squarelike/sharegpt_deepl_ko_translation
  - heegyu/glaive-function-calling-v2-ko-mt
  • maywell/Synatra-Yi-Ko-6B λͺ¨λΈμ— LoRA둜 λ²ˆμ—­ 데이터λ₯Ό ν•™μŠ΅ ν›„ κ°€μ€‘μΉ˜λ₯Ό λ³‘ν•©ν•œ λͺ¨λΈ

ν”„λ‘¬ν”„νŠΈ 및 생성 μ˜ˆμ‹œ

<|im_start|>system
μ‚¬μš©μžκ°€ μž…λ ₯ν•œ λ§ˆν¬λ‹€μš΄ μ˜μ–΄ λŒ€ν™”λ₯Ό ν•œκ΅­μ–΄λ‘œ λ²ˆμ—­ν•˜μ„Έμš”. ν”„λ‘œκ·Έλž¨ μ½”λ“œλŠ” λ²ˆμ—­ν•˜λ©΄ μ•ˆλ©λ‹ˆλ‹€. <|im_end|>
<|im_start|>user
### User: 
Can you write a python Hello World example?

### Assistant: 
Certainly! Here's a simple "Hello, World!" example in Python:

```python
print("Hello, World!")
```

To run this code, you can follow these steps:

1. Open a text editor or integrated development environment (IDE) on your computer.
2. Type the code above into a new file.
3. Save the file with a ".py" extension, for example, "hello.py".
4. Open your command prompt or terminal.
5. Navigate to the directory where you saved the "hello.py" file.
6. Run the Python script by entering the following command:

```bash
python hello.py
```

You should see the output "Hello, World!" displayed in the terminal. This is a basic example to get you started with Python programming.
<|im_start|>assistant
### User:

생성 κ²°κ³Ό

파이썬 Hello World 예제λ₯Ό μž‘μ„±ν•΄ μ£Όμ„Έμš”?

### Assistant: 
물둠이죠! μ—¬κΈ° 파이썬의 κ°„λ‹¨ν•œ "Hello, World!" μ˜ˆμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€:

```python
print("Hello, World!")
```

이 μ½”λ“œλ₯Ό μ‹€ν–‰ν•˜λ €λ©΄ λ‹€μŒ 단계λ₯Ό λ”°λ₯΄μ„Έμš”:

1. μ»΄ν“¨ν„°μ—μ„œ ν…μŠ€νŠΈ νŽΈμ§‘κΈ° λ˜λŠ” 톡합 개발 ν™˜κ²½(IDE)을 μ—½λ‹ˆλ‹€.
2. μœ„μ˜ μ½”λ“œλ₯Ό μƒˆ νŒŒμΌμ— μž…λ ₯ν•©λ‹ˆλ‹€.
3. 예λ₯Ό λ“€μ–΄ "hello.py"인 파일 이름 끝에 ".py" ν™•μž₯자λ₯Ό μ§€μ •ν•˜μ—¬ νŒŒμΌμ„ μ €μž₯ν•©λ‹ˆλ‹€.
4. λͺ…λ Ή ν”„λ‘¬ν”„νŠΈ λ˜λŠ” 터미널을 μ—½λ‹ˆλ‹€.
5. "hello.py" 파일이 μ €μž₯된 디렉토리 마우슀 였λ₯Έμͺ½ 상단 λͺ¨μ„œλ¦¬λ‘œ μ΄λ™ν•©λ‹ˆλ‹€.
6. λ‹€μŒ λͺ…령을 μž…λ ₯ν•˜μ—¬ Python 슀크립트λ₯Ό μ‹€ν–‰ν•©λ‹ˆλ‹€:

```bash
python hello.py
```

터미널에 "Hello, World!"λΌλŠ” 좜λ ₯이 ν‘œμ‹œλ©λ‹ˆλ‹€. 이것은 파이썬 ν”„λ‘œκ·Έλž˜λ°μ„ μ‹œμž‘ν•˜λŠ” 데 도움이 λ˜λŠ” 기본적인 μ˜ˆμ œμž…λ‹ˆλ‹€.<|endoftext|>