├── README.md ├── convert_training_data.py ├── data ├── 1.f ├── llama2_kittnmistral7Bv01hfmistralPLACE2checkpoint35candidateschinese_trnews.json ├── test_data.zip ├── training_data.json └── training_data_baichuan.json ├── data_process.py ├── falcon_prediction.py ├── figure ├── 1 └── llm-workflow.png ├── fine-tune.py ├── finetune_llm.py ├── prediction.py ├── requirements.txt ├── templates ├── README.md ├── alpaca.json ├── alpaca_legacy.json ├── alpaca_short.json └── vigogne.json └── utils ├── README.md ├── __init__.py ├── __pycache__ ├── __init__.cpython-310.pyc ├── __init__.cpython-37.pyc ├── __init__.cpython-39.pyc ├── callbacks.cpython-310.pyc ├── callbacks.cpython-37.pyc ├── callbacks.cpython-39.pyc ├── prompter.cpython-310.pyc ├── prompter.cpython-37.pyc └── prompter.cpython-39.pyc ├── callbacks.py └── prompter.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/README.md -------------------------------------------------------------------------------- /convert_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/convert_training_data.py -------------------------------------------------------------------------------- /data/1.f: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/llama2_kittnmistral7Bv01hfmistralPLACE2checkpoint35candidateschinese_trnews.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/data/llama2_kittnmistral7Bv01hfmistralPLACE2checkpoint35candidateschinese_trnews.json -------------------------------------------------------------------------------- /data/test_data.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/data/test_data.zip -------------------------------------------------------------------------------- /data/training_data.json: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/training_data_baichuan.json: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/data_process.py -------------------------------------------------------------------------------- /falcon_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/falcon_prediction.py -------------------------------------------------------------------------------- /figure/1: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /figure/llm-workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/figure/llm-workflow.png -------------------------------------------------------------------------------- /fine-tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/fine-tune.py -------------------------------------------------------------------------------- /finetune_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/finetune_llm.py -------------------------------------------------------------------------------- /prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/prediction.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/requirements.txt -------------------------------------------------------------------------------- /templates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/templates/README.md -------------------------------------------------------------------------------- /templates/alpaca.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/templates/alpaca.json -------------------------------------------------------------------------------- /templates/alpaca_legacy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/templates/alpaca_legacy.json -------------------------------------------------------------------------------- /templates/alpaca_short.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/templates/alpaca_short.json -------------------------------------------------------------------------------- /templates/vigogne.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/templates/vigogne.json -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/README.md -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /utils/__pycache__/callbacks.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/callbacks.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/callbacks.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/callbacks.cpython-37.pyc -------------------------------------------------------------------------------- /utils/__pycache__/callbacks.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/callbacks.cpython-39.pyc -------------------------------------------------------------------------------- /utils/__pycache__/prompter.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/prompter.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/prompter.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/prompter.cpython-37.pyc -------------------------------------------------------------------------------- /utils/__pycache__/prompter.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/__pycache__/prompter.cpython-39.pyc -------------------------------------------------------------------------------- /utils/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/callbacks.py -------------------------------------------------------------------------------- /utils/prompter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhuohuy/LLM-geocoding/HEAD/utils/prompter.py --------------------------------------------------------------------------------