Skip to content

Commit

Permalink
Fix typo in adding_model.rst (vllm-project#1947)
Browse files Browse the repository at this point in the history
adpated -> adapted
  • Loading branch information
petergtz authored Dec 6, 2023
1 parent 05ff90b commit d940ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/models/adding_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This gives you the ability to modify the codebase and test your model.
------------------------

Clone the PyTorch model code from the HuggingFace Transformers repository and put it into the `vllm/model_executor/models <https://github.com/vllm-project/vllm/tree/main/vllm/model_executor/models>`_ directory.
For instance, vLLM's `OPT model <https://github.com/vllm-project/vllm/blob/main/vllm/model_executor/models/opt.py>`_ was adpated from the HuggingFace's `modeling_opt.py <https://github.com/huggingface/transformers/blob/main/src/transformers/models/opt/modeling_opt.py>`_ file.
For instance, vLLM's `OPT model <https://github.com/vllm-project/vllm/blob/main/vllm/model_executor/models/opt.py>`_ was adapted from the HuggingFace's `modeling_opt.py <https://github.com/huggingface/transformers/blob/main/src/transformers/models/opt/modeling_opt.py>`_ file.

.. warning::
When copying the model code, make sure to review and adhere to the code's copyright and licensing terms.
Expand Down

0 comments on commit d940ce4

Please sign in to comment.