Video-Text-to-Text
Transformers
PyTorch
Safetensors
English
Chinese
llama
text-generation
custom_code
text-generation-inference
Instructions to use KangarooGroup/kangaroo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KangarooGroup/kangaroo with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("KangarooGroup/kangaroo", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("KangarooGroup/kangaroo", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
merge
Browse files- modeling_kangaroo.py +0 -1
modeling_kangaroo.py
CHANGED
|
@@ -17,7 +17,6 @@
|
|
| 17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
# See the License for the specific language governing permissions and
|
| 19 |
# limitations under the License.
|
| 20 |
-
|
| 21 |
import math
|
| 22 |
from typing import List, Optional, Tuple, Union
|
| 23 |
|
|
|
|
| 17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
# See the License for the specific language governing permissions and
|
| 19 |
# limitations under the License.
|
|
|
|
| 20 |
import math
|
| 21 |
from typing import List, Optional, Tuple, Union
|
| 22 |
|