Skip to content

Commit 2b9cc9e

Browse files
authored
Merge branch 'main' into sekyondaMeta-torchserve_with_ipexLink
2 parents 1407626 + 1554717 commit 2b9cc9e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

intermediate_source/ddp_series_minGPT.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ training <ddp_series_multinode.html>`__ \|\| **minGPT Training**
66
Training “real-world” models with DDP
77
=====================================
88

9-
Authors: `Suraj Subramanian <https://github.com/suraj813>`__
9+
Authors: `Suraj Subramanian <https://github.com/subramen>`__
1010

1111
.. grid:: 2
1212

intermediate_source/ddp_series_multinode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ training** \|\| `minGPT Training <ddp_series_minGPT.html>`__
66
Multinode Training
77
==================
88

9-
Authors: `Suraj Subramanian <https://github.com/suraj813>`__
9+
Authors: `Suraj Subramanian <https://github.com/subramen>`__
1010

1111
.. grid:: 2
1212

intermediate_source/dynamic_quantization_bert_tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ the following helper functions: one for converting the text examples
138138
into the feature vectors; The other one for measuring the F1 score of
139139
the predicted result.
140140

141-
The `glue_convert_examples_to_features <https://github.com/huggingface/transformers/blob/master/transformers/data/processors/glue.py>`_ function converts the texts into input features:
141+
The `glue_convert_examples_to_features <https://github.com/huggingface/transformers/blob/main/src/transformers/data/datasets/glue.py>`_ function converts the texts into input features:
142142

143143
- Tokenize the input sequences;
144144
- Insert [CLS] in the beginning;
@@ -147,7 +147,7 @@ The `glue_convert_examples_to_features <https://github.com/huggingface/transform
147147
- Generate token type ids to indicate whether a token belongs to the
148148
first sequence or the second sequence.
149149

150-
The `glue_compute_metrics <https://github.com/huggingface/transformers/blob/master/transformers/data/processors/glue.py>`_ function has the compute metrics with
150+
The `glue_compute_metrics <https://github.com/huggingface/transformers/blob/main/src/transformers/data/metrics/__init__.py#L60>`_ function has the compute metrics with
151151
the `F1 score <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html>`_, which
152152
can be interpreted as a weighted average of the precision and recall,
153153
where an F1 score reaches its best value at 1 and worst score at 0. The
@@ -273,7 +273,7 @@ We load the tokenizer and fine-tuned BERT sequence classifier model
273273
2.3 Define the tokenize and evaluation function
274274
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
275275

276-
We reuse the tokenize and evaluation function from `HuggingFace <https://github.com/huggingface/transformers/blob/master/examples/run_glue.py>`_.
276+
We reuse the tokenize and evaluation function from `HuggingFace <https://github.com/huggingface/transformers/blob/main/examples/legacy/pytorch-lightning/run_glue.py>`_.
277277

278278
.. code:: python
279279

0 commit comments

Comments
 (0)