https://github.com/anthropics/anthropic-cookbook
read_web_pages_with_haiku.ipynb: PythonでAnthropicのClaude APIを使用してWebページのコンテンツを要約する方法を説明しています。
| #!/usr/bin/env zsh | |
| # Default settings | |
| HOST="127.0.0.1" | |
| PORT="10101" | |
| SPEAKER="888753760" # Default speaker ID (Anneli - ノーマル) | |
| TEXT="" | |
| # Get the script name without any prefix | |
| SCRIPT_NAME=$(basename "$0") |
https://github.com/anthropics/anthropic-cookbook
read_web_pages_with_haiku.ipynb: PythonでAnthropicのClaude APIを使用してWebページのコンテンツを要約する方法を説明しています。
| ## https://huggingface.co/oshizo/japanese-sexual-moderation-v2 | |
| ## How to use | |
| ## $ python3 -m venv venv && source venv/bin/activate | |
| ## $ pip install transformers torch sentencepiece | |
| ## $ python main.py --input "富士山は日本で一番高い山です。" | |
| import torch | |
| import argparse | |
| from transformers import AutoModelForSequenceClassification, AutoTokenizer |
| export const hello = () => { | |
| console.log('hello') | |
| } |