上一页 1 ··· 577 578 579 580 581 582 583 584 585 ··· 939 下一页
摘要: Transformers 源码解析(十七) .\models\bigbird_pegasus\__init__.py # 版权声明及许可信息 # # 版权所有 2021 年 HuggingFace 团队。保留所有权利。 # # 根据 Apache 许可证 2.0 版本("许可证")许可; # 除非符 阅读全文
posted @ 2024-06-30 15:34 绝不原创的飞龙 阅读(97) 评论(0) 推荐(0)
摘要: Transformers 源码解析(十六) .\models\bert\__init__.py # 从 typing 模块导入 TYPE_CHECKING 类型检查工具 from typing import TYPE_CHECKING # 从 ...utils 中导入必要的模块和异常类 from . 阅读全文
posted @ 2024-06-30 15:34 绝不原创的飞龙 阅读(129) 评论(0) 推荐(0)
摘要: Transformers 源码解析(十九) .\models\blenderbot\modeling_tf_blenderbot.py # coding=utf-8 # 版权所有 2021 年 Facebook, Inc 和 HuggingFace Inc. 团队。保留所有权利。 # # 根据 Ap 阅读全文
posted @ 2024-06-30 15:34 绝不原创的飞龙 阅读(104) 评论(0) 推荐(0)
摘要: Transformers 源码解析(十二) .\models\auto\__init__.py # 引入类型检查标记,用于条件检查时的类型提示 from typing import TYPE_CHECKING # 从 utils 模块中导入所需内容 from ...utils import ( Op 阅读全文
posted @ 2024-06-30 15:34 绝不原创的飞龙 阅读(302) 评论(0) 推荐(0)
摘要: Transformers 源码解析(十八) .\models\big_bird\__init__.py # 导入必要的类型检查模块 from typing import TYPE_CHECKING # 导入相关的依赖项和模块 from ...utils import ( OptionalDepend 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(129) 评论(0) 推荐(0)
摘要: Transformers 源码解析(十) .\models\albert\tokenization_albert_fast.py # coding=utf-8 # Copyright 2018 Google AI, Google Brain and the HuggingFace Inc. team 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(105) 评论(0) 推荐(0)
摘要: Transformers 源码解析(三十一) .\models\ctrl\__init__.py # 版权声明和许可信息 # # 根据 Apache 许可证 2.0 版本授权,除非符合许可证的规定,否则不得使用此文件。 # 您可以在以下链接获取许可证的副本: # # http://www.apach 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(105) 评论(0) 推荐(0)
摘要: Transformers 源码解析(三十五) .\models\deformable_detr\__init__.py # 版权声明和许可证信息,指明该代码的版权归属和许可证条款 # Copyright 2022 The HuggingFace Team. All rights reserved. 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(132) 评论(0) 推荐(0)
摘要: Transformers 源码解析(三十四) .\models\deberta_v2\tokenization_deberta_v2.py # coding=utf-8 # Copyright 2020 Microsoft and the HuggingFace Inc. team. # # Lic 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(287) 评论(0) 推荐(0)
摘要: Transformers 源码解析(三十三) .\models\deberta\modeling_tf_deberta.py # 定义 TFDebertaContextPooler 类,用于处理 DeBERTa 模型的上下文池化操作 class TFDebertaContextPooler(kera 阅读全文
posted @ 2024-06-30 15:32 绝不原创的飞龙 阅读(119) 评论(0) 推荐(0)
上一页 1 ··· 577 578 579 580 581 582 583 584 585 ··· 939 下一页