Skip to content

Commit 4fe0677

Browse files
authored
Merge branch 'main' into sekyondaMeta-cpp_frontendLinks
2 parents 98cb842 + 3b1257d commit 4fe0677

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.lycheeignore

+6
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ https://pytorch.org/tutorials/beginner/colab/n
1212

1313
# Ignore local host link from intermediate_source/tensorboard_tutorial.rst
1414
http://localhost:6006
15+
16+
# Ignore local host link from recipes_source/deployment_with_flask.rst
17+
http://localhost:5000/predict
18+
19+
# Ignore local host link from advanced_source/cpp_frontend.rst
20+
https://www.uber.com/blog/deep-neuroevolution/

intermediate_source/ddp_series_minGPT.rst

+1-1
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

+1-1
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

+3-3
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)