Skip to content

Commit 85d536a

Browse files
authored
🌐 [i18n-KO] Translated tiny_agents.md to Korean (#39913)
* docs: ko: tiny_agents.md * feat: nmt draft * fix: manual edits * fix: manual edits
1 parent 31ab716 commit 85d536a

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

β€Ždocs/source/ko/_toctree.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
- local: in_translation
9292
title: (λ²ˆμ—­μ€‘) Tools and RAG
9393
title: λͺ¨λΈμ„ μ‚¬μš©ν•΄ λŒ€ν™”ν•˜κΈ°
94+
- sections:
95+
- local: tiny_agents
96+
title: Tiny-Agents CLI 및 MCP 도ꡬ
97+
title: μ„œλΉ™(Serving)
9498
- sections:
9599
- local: in_translation
96100
title: (λ²ˆμ—­μ€‘) torch.compile

β€Ždocs/source/ko/tiny_agents.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
### `tiny-agents` CLI 및 MCP 도ꡬ[[tiny-agents-cli-and-mcp-tools]]
2+
3+
MCP λ„κ΅¬μ˜ μ‚¬μš©μ„ 보여주기 μœ„ν•΄ [`tiny-agents`](https://huggingface.co/blog/python-tiny-agents) CLI와 `transformers serve` μ„œλ²„λ₯Ό μ—°λ™ν•˜λŠ” 방법을 μ‚΄νŽ΄λ³΄κ² μŠ΅λ‹ˆλ‹€.
4+
5+
> [!TIP]
6+
> 이 μ˜ˆμ‹œμ²˜λŸΌ λ§Žμ€ Hugging Face Spacesλ₯Ό MCP μ„œλ²„λ‘œ ν™œμš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. ν˜Έν™˜ κ°€λŠ₯ν•œ λͺ¨λ“  SpacesλŠ” [μ—¬κΈ°](https://huggingface.co/spaces?filter=mcp-server)μ—μ„œ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€.
7+
8+
MCP 도ꡬλ₯Ό μ‚¬μš©ν•˜λ €λ©΄ λ¨Όμ € λͺ¨λΈμ— μ‚¬μš© κ°€λŠ₯ν•œ 도ꡬλ₯Ό μ•Œλ €μ•Ό ν•©λ‹ˆλ‹€. 예λ₯Ό λ“€μ–΄, [이미지 생성 MCP μ„œλ²„](https://evalstate-flux1-schnell.hf.space/)λ₯Ό μ°Έμ‘°ν•˜λŠ” `tiny-agents` μ„€μ • νŒŒμΌμ„ μ‚΄νŽ΄λ³΄κ² μŠ΅λ‹ˆλ‹€.
9+
10+
```json
11+
{
12+
"model": "Menlo/Jan-nano",
13+
"endpointUrl": "http://localhost:8000",
14+
"servers": [
15+
{
16+
"type": "sse",
17+
"url": "https://evalstate-flux1-schnell.hf.space/gradio_api/mcp/sse"
18+
}
19+
]
20+
}
21+
```
22+
23+
그런 λ‹€μŒ μ•„λž˜ λͺ…λ Ήμ–΄λ‘œ `tiny-agents` μ±„νŒ… μΈν„°νŽ˜μ΄μŠ€λ₯Ό μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
24+
25+
```bash
26+
tiny-agents run path/to/your/config.json
27+
```
28+
29+
λ°±κ·ΈλΌμš΄λ“œμ—μ„œ `transformers serve`κ°€ μ‹€ν–‰ 쀑이라면, 이제 둜컬 λͺ¨λΈμ—μ„œ MCP 도ꡬλ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. λ‹€μŒμ€ `tiny-agents`μ™€μ˜ μ±„νŒ… μ„Έμ…˜ μ˜ˆμ‹œμž…λ‹ˆλ‹€.
30+
31+
```bash
32+
Agent loaded with 1 tools:
33+
β€’ flux1_schnell_infer
34+
Β» Generate an image of a cat on the moon
35+
<Tool req_0_tool_call>flux1_schnell_infer {"prompt": "a cat on the moon", "seed": 42, "randomize_seed": true, "width": 1024, "height": 1024, "num_inference_steps": 4}
36+
37+
Tool req_0_tool_call
38+
[Binary Content: Image image/webp, 57732 bytes]
39+
The task is complete and the content accessible to the User
40+
Image URL: https://evalstate-flux1-schnell.hf.space/gradio_api/file=/tmp/gradio/3dbddc0e53b5a865ed56a4e3dbdd30f3f61cf3b8aabf1b456f43e5241bd968b8/image.webp
41+
380576952
42+
43+
Flux 1 Schnell 이미지 생성기λ₯Ό μ‚¬μš©ν•˜μ—¬ 달 μœ„μ˜ 고양이 이미지λ₯Ό μƒμ„±ν–ˆμŠ΅λ‹ˆλ‹€. μ΄λ―Έμ§€λŠ” 1024x1024 픽셀이며 4번의 μΆ”λ‘  단계λ₯Ό 거쳐 μƒμ„±λ˜μ—ˆμŠ΅λ‹ˆλ‹€. λ³€κ²½ 사항이 ν•„μš”ν•˜κ±°λ‚˜ μΆ”κ°€ 도움이 ν•„μš”ν•˜μ‹œλ©΄ μ•Œλ €μ£Όμ„Έμš”!
44+
```

0 commit comments

Comments
Β (0)