Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt HF Transformers #801

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

Victorivus
Copy link
Contributor

Fix 'mistral' models missing

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    It fixes Bug mentioned in Issue 🐛 Bug Report: HuggingFace Mistral models not working #800. It upgrades the HF Transformers library.

  • Why was this change needed? (You can also link to an open issue here)
    All models based on Mistral do not work. After this upgrade of the HF Transformers library they get running.

  • Other information:
    Tests are well passed:
    =============================== test session starts ===============================
    platform linux -- Python 3.10.10, pytest-7.3.1, pluggy-1.3.0
    rootdir: /VSCode/DocsGPT
    plugins: anyio-3.7.1
    collected 20 items

tests/test_app.py . [ 5%]
tests/test_celery.py . [ 10%]
tests/test_error.py .... [ 30%]
tests/test_openapi3parser.py ... [ 45%]
tests/test_vector_store.py . [ 50%]
tests/llm/test_anthropic.py ... [ 65%]
tests/llm/test_openai.py ... [ 80%]
tests/llm/test_sagemaker.py .... [100%]

================================ warnings summary =================================
venv/lib/python3.10/site-packages/kombu/utils/compat.py:82
/VSCode/DocsGPT/venv/lib/python3.10/site-packages/kombu/utils/compat.py:82: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
for ep in importlib_metadata.entry_points().get(namespace, [])

tests/test_openapi3parser.py::test_get_info_from_paths
tests/test_openapi3parser.py::test_parse_file
/VSCode/DocsGPT/venv/lib/python3.10/site-packages/prance/init.py:234: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
from jsonschema.exceptions import RefResolutionError

tests/test_vector_store.py::test_init_local_faiss_store_huggingface
/VSCode/DocsGPT/venv/lib/python3.10/site-packages/faiss/loader.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(numpy.version) >= "1.19":

tests/test_vector_store.py::test_init_local_faiss_store_huggingface
/VSCode/DocsGPT/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py:346: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
other = LooseVersion(other)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================= 20 passed, 5 warnings in 2.84s ==========================

Fix 'mistral' models missing
Copy link

vercel bot commented Dec 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2023 3:21pm
nextra-docsgpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2023 3:21pm

Copy link

vercel bot commented Dec 13, 2023

@Victorivus is attempting to deploy a commit to the Arc53 Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d43927a) 19.53% compared to head (16eca5b) 19.53%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #801   +/-   ##
=======================================
  Coverage   19.53%   19.53%           
=======================================
  Files          62       62           
  Lines        2913     2913           
=======================================
  Hits          569      569           
  Misses       2344     2344           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dartpain
Copy link
Contributor

Thank you so much!

@dartpain dartpain merged commit 3da2a00 into arc53:main Dec 14, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application Application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants