Spaces:
Runtime error
Runtime error
Clémentine commited on
Commit ·
c875275
1
Parent(s): e5ec0e1
Fix requirements for mistral models - to change once transformers gets updated.
Browse filesWe need hf_hub >= 0.18 for collections, transformers >= 4.34 for mistral, and both depend on uncompatible versions of tokenizers. Installing transformers from a fork for now
Files changed (2)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990accelerate==0.23.0aiofiles==23.1.0aiohttp==3.8.4aiosignal==1.3.1altair==4.2.2anyio==3.7.1APScheduler==3.10.1async-timeout==4.0.2attrs==23.1.0beautifulsoup4==4.12.2black==23.11.0bs4==0.0.1certifi==2022.12.7charset-normalizer==3.1.0click==8.1.3contourpy==1.0.7cycler==0.11.0datasets==2.14.5debugpy==1.6.7decorator==5.1.1dill==0.3.6entrypoints==0.4fastapi==0.104.1ffmpy==0.3.0filelock==3.11.0fonttools==4.39.3frozenlist==1.3.3fsspec==2023.6.0gitdb==4.0.10GitPython==3.1.32gradio==4.3.0gradio_client==0.7.0h11==0.14.0httpcore==0.17.0httpx==0.24.0huggingface-hub==0.18.0idna==3.4Jinja2==3.1.2jsonschema==4.17.3kiwisolver==1.4.4linkify-it-py==2.0.0markdown-it-py==2.2.0MarkupSafe==2.1.2matplotlib==3.7.1mdit-py-plugins==0.3.3mdurl==0.1.2multidict==6.0.4numpy==1.24.2orjson==3.8.10packaging==23.1pandas==2.0.0Pillow==9.5.0plotly==5.14.1pyarrow==11.0.0pydantic==2.4.2pydub==0.25.1pyparsing==3.0.9pyrsistent==0.19.3python-dateutil==2.8.2python-multipart==0.0.6pytz==2023.3pytz-deprecation-shim==0.1.0.post0PyYAML==6.0requests==2.28.2semantic-version==2.10.0six==1.16.0sniffio==1.3.0soupsieve==2.4.1stack-data==0.6.2starlette==0.27.0sympy==1.12tenacity==8.2.3tiktoken==0.4.0tokenizers==0.13.3tomli==2.0.1tomlkit==0.12.0toolz==0.12.0tqdm==4.65.0traitlets==5.9.0transformers==4.33.1triton==2.0.0typer==0.9.0typing_extensions==4.8.0tzdata==2023.3tzlocal==4.3uc-micro-py==1.0.1urllib3==1.26.15uvicorn==0.21.1websockets==11.0.1yarl==1.8.21234567891011121314151617181920APScheduler==3.10.1black==23.11.0click==8.1.3datasets==2.14.5gradio==4.3.0gradio_client==0.7.0huggingface-hub>=0.18.0markdown-it-py==2.2.0MarkupSafe==2.1.2matplotlib==3.7.1numpy==1.24.2pandas==2.0.0plotly==5.14.1python-dateutil==2.8.2requests==2.28.2semantic-version==2.10.0tqdm==4.65.0git+https://github.com/clefourrier/transformers.git@req-fix#egg=transformers#transformers==4.35.1tokenizers>=0.15.0
55 unmodified lines5657585960616263646525 unmodified lines9192939495969755 unmodified linesorg = org_and_model[0]model = org_and_model[1]result_key = f"{org}_{model}_{precision}"still_on_hub = is_model_on_hub("/".join(org_and_model), config.get("model_sha", "main"), trust_remote_code=True)[0]# Extract results available in this file (some results are split in several files)results = {}25 unmodified linesreturn self(eval_name=result_key,full_model="/".join(org_and_model),org=org,model=model,results=results,55 unmodified lines5657585960616263646566676825 unmodified lines94959697989910055 unmodified linesorg = org_and_model[0]model = org_and_model[1]result_key = f"{org}_{model}_{precision}"full_model = "/".join(org_and_model)still_on_hub, error = is_model_on_hub(full_model, config.get("model_sha", "main"), trust_remote_code=True)if not still_on_hub:print(full_model, error)# Extract results available in this file (some results are split in several files)results = {}25 unmodified linesreturn self(eval_name=result_key,full_model=full_model,org=org,model=model,results=results,
requirements.txt+4-74
src/leaderboard/read_evals.py+7-4