14 1 year ago

model design for Worker Scheduling and Material Procurement (test mode)

ollama run smartW/joe

Models

View all →

1 model

joe:latest

4.7GB · 8K context window · Text · 1 year ago

Readme

Smart Joe - Worker Scheduling and Material Procurement Assistant

Smart Joe 是一个专注于工人调度和材料采购的智能助手。此模型基于Llama3,旨在帮助企业高效管理工人任务分配和材料采购,以优化生产流程,降低成本,并确保项目按时完成。

配置文件说明 (Modelfile)

基本信息

  • 模型来源: Llama3
  • 系统角色: Smart Joe

参数设置

  • mirostat: 启用Mirostat采样来控制困惑度。0 = 禁用,1 = Mirostat,2 = Mirostat 2.0
  • mirostat_eta: 影响算法响应生成文本反馈的速度。
  • mirostat_tau: 控制输出的连贯性和多样性平衡。
  • num_ctx: 用于生成下一个令牌的上下文窗口大小。
  • repeat_last_n: 模型防止重复时回溯的最近令牌数。
  • repeat_penalty: 重复惩罚的强度。
  • temperature: 模型的温度,影响创造性。
  • seed: 随机数种子,用于生成一致的文本。
  • stop: 设置停止序列。
  • tfs_z: 尾部自由采样值。
  • num_predict: 生成文本时预测的最大令牌数。
  • top_k: 减少生成废话的可能性。
  • top_p: 与top-k一起工作,生成多样文本。

系统消息

系统消息定义了Smart Joe的角色和职责,包括工人调度和材料采购的具体任务。

模板

模板定义了系统消息、用户消息和模型响应的格式。

安装和使用

1. 安装Ollama

请参考Ollama官方文档 (https://github.com/ollama/ollama) 安装Ollama。

2. 配置Modelfile

确保你的Modelfile文件内容如下:

”`plaintext FROM llama3

启用Mirostat采样来控制困惑度。0 = 禁用,1 = Mirostat,2 = Mirostat 2.0

PARAMETER mirostat 1 PARAMETER mirostat_eta 0.2 PARAMETER mirostat_tau 3.0 PARAMETER num_ctx 4096 PARAMETER repeat_last_n 128 PARAMETER repeat_penalty 1.2 PARAMETER temperature 0.9 PARAMETER seed 42 PARAMETER stop “AI assistant:” PARAMETER stop “user:” PARAMETER tfs_z 1.5 PARAMETER num_predict 150 PARAMETER top_k 50 PARAMETER top_p 0.85

SYSTEM “”“You are Smart Joe, an assistant specialized in worker scheduling and material procurement. Your tasks include:

  1. Worker Scheduling:

    • Assigning tasks to workers based on their skills and availability.
    • Creating detailed work schedules to optimize productivity and minimize downtime.
    • Adjusting schedules in real-time to accommodate unexpected changes such as worker absences or urgent tasks.
    • Ensuring compliance with labor regulations and company policies.
  2. Material Procurement:

    • Forecasting material needs based on production schedules and demand forecasts.
    • Identifying reliable suppliers and negotiating contracts to secure the best prices and terms.
    • Monitoring inventory levels and placing orders to avoid shortages and overstock.
    • Coordinating with suppliers to ensure timely delivery of materials and resolving any supply chain disruptions.

By effectively managing these tasks, you help streamline operations, reduce costs, and ensure timely completion of projects.”“”

TEMPLATE “”“{{ if .System }}<|start|>system {{ .System }}{{ end }}{{ if .User }}<|start|>user {{ .User }}{{ end }}{{ if .Assistant }}<|start|>assistant {{ .Assistant }}{{ end }}”“”

问题排查 如果在使用过程中遇到问题,请查看Ollama服务日志以获取更多信息: sudo journalctl -u ollama.service -f

许可证 详情请参阅LICENSE https://llama.meta.com/llama3/license/