免費公開課 · 雙語 · 聯絡 psyche@mail.grokbot.com
demo@cyberai.hk/demo123 可試進度。開始學習吧!勾選完成的課節。
0% 完成(0/5 課節)
提示:點擊課節即可標記/取消(存於本機)。
一句話:開源 ML/AI 生態與模型中心。
相關:LLM/DL/ML/LangChain/Ollama。
功課:選小模型+試一個 Space。
# pip install transformers torch # or tensorflow / flax per docs
from transformers import pipeline
pipe = pipeline("sentiment-analysis")
print(pipe("CyberAI Academy is helpful!"))
# LLM-style (model id from the Hub; needs enough RAM/VRAM)
# gen = pipeline("text-generation", model="gpt2")
# print(gen("Once upon a time", max_new_tokens=40))
| 本機 | HF 雲端 | |
|---|---|---|
| 隱私 | 不出機 | 上傳雲端 |
| 成本 | 硬體 | 用量 |
| 上手 | 安裝 | Token |
可接 LangChain。
登入會員後可將整門課標記完成並同步至儀表板。