semvec/pypi-packages huggingface dataset:
RoxasSentenceTransformerGPT2 0.1.0
A package for text generation and sentence similarity using GPT-2 and Sentence Transformers
License: MIT
Requires Python: >=3.6

# SentenceTransformerGPT2

A Python package to suggest similar sentences and generate text using fine-tuned SentenceTransformer and GPT-2 models.

## Installation

Install the package from PyPI:

```bash
pip install your_package_name

#### No need to use model directories

## sample uses
```
from your_package_name import SentenceTransformerGPT2

# Initialize the model
model = SentenceTransformerGPT2()

# Define candidate sentences
candidate_sentences = [
    'I am going to school',
    'He went to the market',
    'The weather is great today'
]

# Define a query sentence
query_sentence = 'I open the door'

# Number of top similar sentences to return
top_n = 3

# Get similar sentences
similar_sentences = model.suggest_similar_sentences(query_sentence, candidate_sentences, top_n=top_n)
for sentence, similarity in similar_sentences:
    print(f"Sentence: {sentence}, Similarity: {similarity:.4f}")
    if similarity <= 0.7:
        # Generate text if similarity is low
        generated_texts = model.generate_text(query_sentence, num_return_sequences=3)
        for text in generated_texts:
            print(f"Here is suggested text: {text}")

```
nonebot-plugin-daily-task 0.1.1
适用于NoneBot2的每日提醒小助手
License: MIT
Requires Python: <4.0,>=3.10

<!-- markdownlint-disable MD041 -->
<p align="center">
  <a href="https://nonebot.dev/"><img src="https://nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# nonebot-plugin-daily-task

_✨ NoneBot 每日任务插件 ✨_


<a href="https://github.com/WMGray/nonebot-plugin-daily-task/blob/master/LICENSE">
    <img src="https://img.shields.io/github/license/WMGray/nonebot-plugin-daily-task" alt="license">
</a>
<a href="https://pypi.org/project/nonebot-plugin-daily-task/">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-daily-task" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">

</div>

## 💿 安装

<summary>使用 nb-cli 安装</summary>

    nb plugin install nonebot-plugin-daily-task

<summary>pip</summary>

    pip install nonebot-plugin-daily-task

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_daily_task"]

## ⚙️ 配置

在 插件 的`config.py`文件中修改下表中的配置

|           配置项            |  类型  |  默认值  |     说明     |
|:------------------------:|:----:|:-----:|:----------:|
|    daily_task_bot_id     | str  |   无   |   Bot QQ   |
|    daily_task_db_name    | str  | daily |   数据库名称    |
|  daily_task_start_hour   | int  |  10   | 每日任务提醒开始时间 |
|   daily_task_end_hour    | int  |  23   | 每日任务提醒结束时间 |
| daily_task_interval_hour | int  |   2   | 每日任务提醒间隔时间 |
|   daily_task_priority    | int  |  10   | 每日任务提醒优先级  |
|    daily_task_enabled    | bool | False | 是否启用每日任务提醒 |

## 🎉 使用nonebot-plugin-daily-task

### 指令表

|       指令       |    功能    |    权限     |
|:--------------:|:--------:|:---------:|
|     daily      |   插件简介   |    所有人    |
|  daily.help/h  | 查看插件帮助信息 |    所有人    |
|  daily.add/a   |  添加每日任务  |    所有人    |
|  daily.del/d   |  删除每日任务  |    所有人    |
| daily.modify/m |  修改每日任务  |    所有人    |
| daily.query/q  |  查询每日任务  |    所有人    |
| daily.finish/f |  完成每日任务  |    所有人    |
| daily.start/s  |  启用每日任务  | SUPERUSER |
| daily.stop/st  |  停用每日任务  | SUPERUSER |