CMakeLists.txt
LICENSE
MANIFEST.in
README.md
chatglm.cpp
chatglm.h
chatglm_pybind.cpp
chatglm_test.cpp
main.cpp
pyproject.toml
setup.py
chatglm_cpp/__init__.py
chatglm_cpp/langchain_api.py
chatglm_cpp/openai_api.py
chatglm_cpp.egg-info/PKG-INFO
chatglm_cpp.egg-info/SOURCES.txt
chatglm_cpp.egg-info/dependency_links.txt
chatglm_cpp.egg-info/requires.txt
chatglm_cpp.egg-info/top_level.txt
docs/README.md
tests/test_chatglm_cpp.py
tests/test_convert.py
third_party/ggml/.editorconfig
third_party/ggml/.git
third_party/ggml/.gitignore
third_party/ggml/CMakeLists.txt
third_party/ggml/LICENSE
third_party/ggml/README.md
third_party/ggml/build.zig
third_party/ggml/ggml.pc.in
third_party/ggml/requirements.txt
third_party/ggml/cmake/BuildTypes.cmake
third_party/ggml/cmake/GitVars.cmake
third_party/ggml/examples/CMakeLists.txt
third_party/ggml/examples/dolly-v2/CMakeLists.txt
third_party/ggml/examples/dolly-v2/README.md
third_party/ggml/examples/gpt-2/CMakeLists.txt
third_party/ggml/examples/gpt-2/README.md
third_party/ggml/examples/gpt-j/CMakeLists.txt
third_party/ggml/examples/gpt-j/README.md
third_party/ggml/examples/gpt-neox/CMakeLists.txt
third_party/ggml/examples/gpt-neox/README.md
third_party/ggml/examples/mnist/CMakeLists.txt
third_party/ggml/examples/mnist/README.md
third_party/ggml/examples/mpt/CMakeLists.txt
third_party/ggml/examples/mpt/README.md
third_party/ggml/examples/replit/CMakeLists.txt
third_party/ggml/examples/starcoder/CMakeLists.txt
third_party/ggml/examples/starcoder/README.md
third_party/ggml/examples/whisper/CMakeLists.txt
third_party/ggml/examples/whisper/README.md
third_party/ggml/include/ggml/ggml.h
third_party/ggml/src/CMakeLists.txt
third_party/ggml/src/ggml-cuda.cu
third_party/ggml/src/ggml-cuda.h
third_party/ggml/src/ggml-metal.h
third_party/ggml/src/ggml-metal.m
third_party/ggml/src/ggml-metal.metal
third_party/ggml/src/ggml-opencl.cpp
third_party/ggml/src/ggml-opencl.h
third_party/ggml/src/ggml.c
third_party/ggml/tests/CMakeLists.txt
third_party/pybind11/CMakeLists.txt
third_party/pybind11/LICENSE
third_party/pybind11/include/pybind11/attr.h
third_party/pybind11/include/pybind11/buffer_info.h
third_party/pybind11/include/pybind11/cast.h
third_party/pybind11/include/pybind11/chrono.h
third_party/pybind11/include/pybind11/common.h
third_party/pybind11/include/pybind11/complex.h
third_party/pybind11/include/pybind11/eigen.h
third_party/pybind11/include/pybind11/embed.h
third_party/pybind11/include/pybind11/eval.h
third_party/pybind11/include/pybind11/functional.h
third_party/pybind11/include/pybind11/gil.h
third_party/pybind11/include/pybind11/iostream.h
third_party/pybind11/include/pybind11/numpy.h
third_party/pybind11/include/pybind11/operators.h
third_party/pybind11/include/pybind11/options.h
third_party/pybind11/include/pybind11/pybind11.h
third_party/pybind11/include/pybind11/pytypes.h
third_party/pybind11/include/pybind11/stl.h
third_party/pybind11/include/pybind11/stl_bind.h
third_party/pybind11/include/pybind11/type_caster_pyobject_ptr.h
third_party/pybind11/include/pybind11/detail/class.h
third_party/pybind11/include/pybind11/detail/common.h
third_party/pybind11/include/pybind11/detail/descr.h
third_party/pybind11/include/pybind11/detail/init.h
third_party/pybind11/include/pybind11/detail/internals.h
third_party/pybind11/include/pybind11/detail/type_caster_base.h
third_party/pybind11/include/pybind11/detail/typeid.h
third_party/pybind11/include/pybind11/eigen/common.h
third_party/pybind11/include/pybind11/eigen/matrix.h
third_party/pybind11/include/pybind11/eigen/tensor.h
third_party/pybind11/include/pybind11/stl/filesystem.h
third_party/pybind11/tests/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt
third_party/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt
third_party/pybind11/tests/test_embed/CMakeLists.txt
third_party/pybind11/tools/FindCatch.cmake
third_party/pybind11/tools/FindEigen3.cmake
third_party/pybind11/tools/FindPythonLibsNew.cmake
third_party/pybind11/tools/JoinPaths.cmake
third_party/pybind11/tools/check-style.sh
third_party/pybind11/tools/cmake_uninstall.cmake.in
third_party/pybind11/tools/codespell_ignore_lines_from_errors.py
third_party/pybind11/tools/libsize.py
third_party/pybind11/tools/make_changelog.py
third_party/pybind11/tools/pybind11.pc.in
third_party/pybind11/tools/pybind11Common.cmake
third_party/pybind11/tools/pybind11Config.cmake.in
third_party/pybind11/tools/pybind11NewTools.cmake
third_party/pybind11/tools/pybind11Tools.cmake
third_party/pybind11/tools/pyproject.toml
third_party/pybind11/tools/setup_global.py.in
third_party/pybind11/tools/setup_main.py.in
third_party/sentencepiece/.git
third_party/sentencepiece/.gitignore
third_party/sentencepiece/CMakeLists.txt
third_party/sentencepiece/CONTRIBUTING.md
third_party/sentencepiece/LICENSE
third_party/sentencepiece/README.md
third_party/sentencepiece/VERSION.txt
third_party/sentencepiece/config.h.in
third_party/sentencepiece/sentencepiece.pc.in
third_party/sentencepiece/cmake/ios.toolchain.cmake
third_party/sentencepiece/python/README.md
third_party/sentencepiece/src/CMakeLists.txt
third_party/sentencepiece/src/bpe_model.cc
third_party/sentencepiece/src/bpe_model.h
third_party/sentencepiece/src/bpe_model_test.cc
third_party/sentencepiece/src/bpe_model_trainer.cc
third_party/sentencepiece/src/bpe_model_trainer.h
third_party/sentencepiece/src/bpe_model_trainer_test.cc
third_party/sentencepiece/src/builder.cc
third_party/sentencepiece/src/builder.h
third_party/sentencepiece/src/builder_test.cc
third_party/sentencepiece/src/char_model.cc
third_party/sentencepiece/src/char_model.h
third_party/sentencepiece/src/char_model_test.cc
third_party/sentencepiece/src/char_model_trainer.cc
third_party/sentencepiece/src/char_model_trainer.h
third_party/sentencepiece/src/char_model_trainer_test.cc
third_party/sentencepiece/src/common.h
third_party/sentencepiece/src/compile_charsmap_main.cc
third_party/sentencepiece/src/error.cc
third_party/sentencepiece/src/filesystem.cc
third_party/sentencepiece/src/filesystem.h
third_party/sentencepiece/src/filesystem_test.cc
third_party/sentencepiece/src/freelist.h
third_party/sentencepiece/src/freelist_test.cc
third_party/sentencepiece/src/init.h
third_party/sentencepiece/src/init_test.cc
third_party/sentencepiece/src/model_factory.cc
third_party/sentencepiece/src/model_factory.h
third_party/sentencepiece/src/model_factory_test.cc
third_party/sentencepiece/src/model_interface.cc
third_party/sentencepiece/src/model_interface.h
third_party/sentencepiece/src/model_interface_test.cc
third_party/sentencepiece/src/normalization_rule.h
third_party/sentencepiece/src/normalizer.cc
third_party/sentencepiece/src/normalizer.h
third_party/sentencepiece/src/normalizer_test.cc
third_party/sentencepiece/src/pretokenizer_for_training.cc
third_party/sentencepiece/src/pretokenizer_for_training.h
third_party/sentencepiece/src/pretokenizer_for_training_test.cc
third_party/sentencepiece/src/sentencepiece.proto
third_party/sentencepiece/src/sentencepiece_model.proto
third_party/sentencepiece/src/sentencepiece_processor.cc
third_party/sentencepiece/src/sentencepiece_processor.h
third_party/sentencepiece/src/sentencepiece_processor_test.cc
third_party/sentencepiece/src/sentencepiece_trainer.cc
third_party/sentencepiece/src/sentencepiece_trainer.h
third_party/sentencepiece/src/sentencepiece_trainer_test.cc
third_party/sentencepiece/src/spec_parser.h
third_party/sentencepiece/src/spm_decode_main.cc
third_party/sentencepiece/src/spm_encode_main.cc
third_party/sentencepiece/src/spm_export_vocab_main.cc
third_party/sentencepiece/src/spm_normalize_main.cc
third_party/sentencepiece/src/spm_train_main.cc
third_party/sentencepiece/src/test_main.cc
third_party/sentencepiece/src/testharness.cc
third_party/sentencepiece/src/testharness.h
third_party/sentencepiece/src/trainer_factory.cc
third_party/sentencepiece/src/trainer_factory.h
third_party/sentencepiece/src/trainer_factory_test.cc
third_party/sentencepiece/src/trainer_interface.cc
third_party/sentencepiece/src/trainer_interface.h
third_party/sentencepiece/src/trainer_interface_test.cc
third_party/sentencepiece/src/unicode_script.cc
third_party/sentencepiece/src/unicode_script.h
third_party/sentencepiece/src/unicode_script_map.h
third_party/sentencepiece/src/unicode_script_test.cc
third_party/sentencepiece/src/unigram_model.cc
third_party/sentencepiece/src/unigram_model.h
third_party/sentencepiece/src/unigram_model_test.cc
third_party/sentencepiece/src/unigram_model_trainer.cc
third_party/sentencepiece/src/unigram_model_trainer.h
third_party/sentencepiece/src/unigram_model_trainer_test.cc
third_party/sentencepiece/src/util.cc
third_party/sentencepiece/src/util.h
third_party/sentencepiece/src/util_test.cc
third_party/sentencepiece/src/word_model.cc
third_party/sentencepiece/src/word_model.h
third_party/sentencepiece/src/word_model_test.cc
third_party/sentencepiece/src/word_model_trainer.cc
third_party/sentencepiece/src/word_model_trainer.h
third_party/sentencepiece/src/word_model_trainer_test.cc
third_party/sentencepiece/src/builtin_pb/sentencepiece.pb.cc
third_party/sentencepiece/src/builtin_pb/sentencepiece.pb.h
third_party/sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc
third_party/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h
third_party/sentencepiece/third_party/CMakeLists.txt
third_party/sentencepiece/third_party/absl/LICENSE
third_party/sentencepiece/third_party/absl/container/flat_hash_map.h
third_party/sentencepiece/third_party/absl/container/flat_hash_set.h
third_party/sentencepiece/third_party/absl/flags/flag.cc
third_party/sentencepiece/third_party/absl/flags/flag.h
third_party/sentencepiece/third_party/absl/flags/parse.h
third_party/sentencepiece/third_party/absl/memory/memory.h
third_party/sentencepiece/third_party/absl/random/distributions.h
third_party/sentencepiece/third_party/absl/random/random.h
third_party/sentencepiece/third_party/absl/strings/ascii.h
third_party/sentencepiece/third_party/absl/strings/match.h
third_party/sentencepiece/third_party/absl/strings/numbers.h
third_party/sentencepiece/third_party/absl/strings/str_cat.h
third_party/sentencepiece/third_party/absl/strings/str_format.h
third_party/sentencepiece/third_party/absl/strings/str_join.h
third_party/sentencepiece/third_party/absl/strings/str_replace.h
third_party/sentencepiece/third_party/absl/strings/str_split.h
third_party/sentencepiece/third_party/absl/strings/string_view.h
third_party/sentencepiece/third_party/absl/strings/strip.h
third_party/sentencepiece/third_party/darts_clone/LICENSE
third_party/sentencepiece/third_party/darts_clone/darts.h
third_party/sentencepiece/third_party/esaxx/LICENSE
third_party/sentencepiece/third_party/esaxx/esa.hxx
third_party/sentencepiece/third_party/esaxx/sais.hxx
third_party/sentencepiece/third_party/protobuf-lite/LICENSE
third_party/sentencepiece/third_party/protobuf-lite/arena.cc
third_party/sentencepiece/third_party/protobuf-lite/arenastring.cc
third_party/sentencepiece/third_party/protobuf-lite/bytestream.cc
third_party/sentencepiece/third_party/protobuf-lite/coded_stream.cc
third_party/sentencepiece/third_party/protobuf-lite/common.cc
third_party/sentencepiece/third_party/protobuf-lite/extension_set.cc
third_party/sentencepiece/third_party/protobuf-lite/generated_enum_util.cc
third_party/sentencepiece/third_party/protobuf-lite/generated_message_table_driven_lite.cc
third_party/sentencepiece/third_party/protobuf-lite/generated_message_util.cc
third_party/sentencepiece/third_party/protobuf-lite/implicit_weak_message.cc
third_party/sentencepiece/third_party/protobuf-lite/int128.cc
third_party/sentencepiece/third_party/protobuf-lite/io_win32.cc
third_party/sentencepiece/third_party/protobuf-lite/message_lite.cc
third_party/sentencepiece/third_party/protobuf-lite/parse_context.cc
third_party/sentencepiece/third_party/protobuf-lite/repeated_field.cc
third_party/sentencepiece/third_party/protobuf-lite/status.cc
third_party/sentencepiece/third_party/protobuf-lite/statusor.cc
third_party/sentencepiece/third_party/protobuf-lite/stringpiece.cc
third_party/sentencepiece/third_party/protobuf-lite/stringprintf.cc
third_party/sentencepiece/third_party/protobuf-lite/structurally_valid.cc
third_party/sentencepiece/third_party/protobuf-lite/strutil.cc
third_party/sentencepiece/third_party/protobuf-lite/time.cc
third_party/sentencepiece/third_party/protobuf-lite/wire_format_lite.cc
third_party/sentencepiece/third_party/protobuf-lite/zero_copy_stream.cc
third_party/sentencepiece/third_party/protobuf-lite/zero_copy_stream_impl.cc
third_party/sentencepiece/third_party/protobuf-lite/zero_copy_stream_impl_lite.cc
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/any.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/arena.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/arena_impl.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/arenastring.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/descriptor.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/extension_set.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/extension_set_inl.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/generated_enum_reflection.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/generated_enum_util.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/generated_message_util.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/has_bits.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/implicit_weak_message.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/map.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/map_entry_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/map_field_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/map_type_handler.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/message_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/metadata_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/parse_context.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/port.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/port_def.inc
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/port_undef.inc
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/repeated_field.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/unknown_field_set.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/wire_format_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/io/coded_stream.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/io/io_win32.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/bytestream.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/callback.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/casts.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/common.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/hash.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/int128.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/logging.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/macros.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/map_util.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/mutex.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/once.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/platform_macros.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/port.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/status.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/statusor.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/stl_util.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/stringpiece.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/stringprintf.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/strutil.h
third_party/sentencepiece/third_party/protobuf-lite/google/protobuf/stubs/time.h