Skip to content

Commit

Permalink
rst -> mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
patil-suraj committed Dec 23, 2021
1 parent f601657 commit dc90de9
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 118 deletions.
78 changes: 78 additions & 0 deletions docs/source/model_doc/xglm.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!--Copyright 2021 The HuggingFace Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-->

# XGLM

## Overview

The XGLM model was proposed in *<INSERT PAPER NAME HERE>
<<INSERT PAPER LINK HERE>>*__ by <INSERT AUTHORS HERE>. <INSERT SHORT SUMMARY HERE>

The abstract from the paper is the following:

*<INSERT PAPER ABSTRACT HERE>*

Tips:

<INSERT TIPS ABOUT MODEL HERE>

This model was contributed by *<INSERT YOUR HF USERNAME HERE>
<https://huggingface.co/<INSERT YOUR HF USERNAME HERE>>*__. The original code can be found *here
<<INSERT LINK TO GITHUB REPO HERE>>*__.

## XGLMConfig

[[autodoc]] XGLMConfig
- all

## XGLMTokenizer

[[autodoc]] XGLMTokenizer
- build_inputs_with_special_tokens
- get_special_tokens_mask
- create_token_type_ids_from_sequences
- save_vocabulary

## XGLMTokenizerFast

[[autodoc]] XGLMTokenizerFast
- all

## XGLMModel

[[autodoc]] XGLMModel
- forward

## XGLMForCausalLM

[[autodoc]] XGLMForCausalLM
- forward

## FlaxXGLMModel

[[autodoc]] FlaxXGLMModel
- call

## FlaxXGLMForSequenceClassification

[[autodoc]] FlaxXGLMForSequenceClassification
- call

## FlaxXGLMForQuestionAnswering

[[autodoc]] FlaxXGLMForQuestionAnswering
- call

## FlaxXGLMForConditionalGeneration

[[autodoc]] FlaxXGLMForConditionalGeneration
- call
118 changes: 0 additions & 118 deletions docs/source/model_doc/xglm.rst

This file was deleted.

0 comments on commit dc90de9

Please sign in to comment.