├── .gitignore ├── CITATION.cff ├── LICENSE ├── README.md ├── llama ├── __init__.py ├── generation.py ├── model.py └── tokenizer.py ├── real ├── inputs_channel_ag_news.json ├── inputs_direct_ag_news.json ├── outputs_channel_ag_news.json └── outputs_direct_ag_news.json ├── requirements.txt ├── run_evaluate_channel_llama.py ├── run_evaluate_direct_calibrate_llama.py ├── run_evaluate_direct_llama.py ├── run_evaluate_generate_llama.py ├── run_preprocess_channel_ag_news.py ├── run_preprocess_direct_ag_news.py └── samples ├── inputs_channel_ag_news.json ├── inputs_direct_ag_news.json ├── outputs_channel_ag_news.json ├── outputs_direct_ag_news.json ├── outputs_direct_calibrate_ag_news.json └── outputs_generate_ag_news.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/.gitignore -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/CITATION.cff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/README.md -------------------------------------------------------------------------------- /llama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/llama/__init__.py -------------------------------------------------------------------------------- /llama/generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/llama/generation.py -------------------------------------------------------------------------------- /llama/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/llama/model.py -------------------------------------------------------------------------------- /llama/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/llama/tokenizer.py -------------------------------------------------------------------------------- /real/inputs_channel_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/real/inputs_channel_ag_news.json -------------------------------------------------------------------------------- /real/inputs_direct_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/real/inputs_direct_ag_news.json -------------------------------------------------------------------------------- /real/outputs_channel_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/real/outputs_channel_ag_news.json -------------------------------------------------------------------------------- /real/outputs_direct_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/real/outputs_direct_ag_news.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_evaluate_channel_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_evaluate_channel_llama.py -------------------------------------------------------------------------------- /run_evaluate_direct_calibrate_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_evaluate_direct_calibrate_llama.py -------------------------------------------------------------------------------- /run_evaluate_direct_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_evaluate_direct_llama.py -------------------------------------------------------------------------------- /run_evaluate_generate_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_evaluate_generate_llama.py -------------------------------------------------------------------------------- /run_preprocess_channel_ag_news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_preprocess_channel_ag_news.py -------------------------------------------------------------------------------- /run_preprocess_direct_ag_news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/run_preprocess_direct_ag_news.py -------------------------------------------------------------------------------- /samples/inputs_channel_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/inputs_channel_ag_news.json -------------------------------------------------------------------------------- /samples/inputs_direct_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/inputs_direct_ag_news.json -------------------------------------------------------------------------------- /samples/outputs_channel_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/outputs_channel_ag_news.json -------------------------------------------------------------------------------- /samples/outputs_direct_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/outputs_direct_ag_news.json -------------------------------------------------------------------------------- /samples/outputs_direct_calibrate_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/outputs_direct_calibrate_ag_news.json -------------------------------------------------------------------------------- /samples/outputs_generate_ag_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sh0416/llama-classification/HEAD/samples/outputs_generate_ag_news.json --------------------------------------------------------------------------------