首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏JusterZhu

    GitHub Models

    Quick comparison and switching of multiple models How different models adapt to new application frameworks the same prompt for different models. Quick comparison and switching of multiple models Above, we switched models in the playground to compare different models under the same prompt. /ragmd --method global "What's GraphRAG" Through GitHub Models, we can quickly use the provided models

    26500编辑于 2025-01-23
  • 来自专栏若尘的技术专栏

    Django 之 ModelsModels 模型 & 数据表关系)

    : 把面向对象思想转换成关系数据库思想,操作上把类等价于表格 类对应表格 类中的属性对应表中的字段 在应用中的models.py 文件中定义class 所有需要使用ORM的class都必须是 models.Model 类的使用 定义和数据库表映射的类 --- 在应用中的models.py 文件中定义class 所有使用ORM 的class都必须是models.Models 的子类 class中的所有属性对应表格中的字段 # Create your models here. class School(models.Model): school_id = models.IntegerField() school_name = models.CharField( = models.CharField(max_length=20) my_school = models.ForeignKey("School") class Student(models.Model

    2.8K87发布于 2021-05-12
  • 来自专栏技术圈

    Attention based models

    推荐一篇综述 -> An Attentive Survey of Attention Models 我会大体介绍attention发展过程中几篇经典的paper,从机器翻译领域萌芽再到各个领域遍地开花.

    54610发布于 2020-05-18
  • 来自专栏vanguard

    Django Models UML

    'django_extensions', ... ) pip install pygraphviz python manage.py graph_models -a -o graph.png when following: graph.png Reference as following https://django-extensions.readthedocs.io/en/latest/graph_models.html #example-usage Generate UML class diagrams from django models https://simpleit.rocks/python/django/generate-uml-class-diagrams-from-django-models

    99820发布于 2020-12-09
  • 来自专栏杂谈

    三、Models设计

    models.py __author__ = 'derek' from datetime import datetime from django.db import models from django.contrib.auth.models = models.CharField("电话",max_length=11) email = models.EmailField("邮箱",max_length=100, null=True, ): """ 验证码 """ code = models.CharField("验证码",max_length=10) mobile = models.CharField "用户") goods = models.ForeignKey(Goods, on_delete=models.CASCADE, verbose_name="商品") nums = models.IntegerField =models.CASCADE, verbose_name="用户") goods = models.ForeignKey(Goods, on_delete=models.CASCADE, verbose_name

    1.1K10发布于 2018-10-01
  • models_download

    ComfyUI Models DownloadManual DownloadHugging FaceHugging Face – The AI community building the future.CivitaiCivitai 正向反向采样器:seed:随机种子simpler:采样算法scheduler:调度器cfg:图片与prompt相关度steps:采样步数模型存放地址:模型类型放置路径示例描述大模型(Checkpoints)models VAE模型models\vaeVAE(Variational Autoencoder)模型文件。Lora模型models\lorasLora微调技术相关模型文件。

    27810编辑于 2024-05-12
  • 来自专栏python3

    Django Models 查询操作

    1.准备数据表: from django.db import models class City(models.Model): name=models.CharField(max_length=32) nid=models.AutoField(primary_key=True) class Author(models.Model): name=models.CharField(max_length =32) nid=models.AutoField(primary_key=True) city=models.ForeignKey(to=City,on_delete=models.CASCADE) class Book(models.Model): nid=models.AutoField(primary_key=True) title=models.CharField(max_length=32 () nid=models.AutoField(primary_key=True) author=models.OneToOneField(to=Author,on_delete=models.CASCADE

    1.2K20发布于 2020-01-17
  • 来自专栏CreateAMind

    Unsupervised learning and generative models

    来自deepmind大神的演讲,https://www.youtube.com/watch?v=H4VGSYGvJiA,首先是五种对于数据分布的操作,非常有借鉴意义,总结的很棒,高屋建瓴。比如Iden

    41840发布于 2019-10-16
  • Running Pytorch models in production

    During the past few months, we have been experimenting with Pytorch to train and evaluate our models. bridge between the two libraries, and here we opted for the ONNX, a universal format for deep learning models True) parser.add_argument( '--export-dir', help="Folder where to export proto models Pytorch still does not support exporting ONNX models with a dynamic batch size so here we used a workaround lists many supported operations stating this list is enough to convert some of the famous deep learning models

    18200编辑于 2025-07-18
  • 来自专栏点云PCL

    3D Models and Matching

    systems 3D Models Many different representations have been used to model 3D objects. Mesh Models Mesh models were originally for computer graphics. Surface-Edge-Vertex Models SEV models are at the opposite extreme from mesh models. Generalized-Cylinder Models Generalized cylinder models include: a set of generalized cylinders the spatial Matching Geometric Models via Alignment Alignment is the most common paradigm for matching 3D models

    58020发布于 2019-07-30
  • 来自专栏Michael阿明学习之路

    LangChain学习:models,prompts,parsers

    2. prompts 执行方法1 执行方法2 3. parsers learn from https://learn.deeplearning.ai/langchain/lesson/2/models AzureChatOpenAI from config import api_type, api_key, api_base, api_version, model_name from langchain.chat_models

    61930编辑于 2023-07-21
  • 来自专栏深度学习框架

    Building deep retrieval models

    In the featurization tutorial we incorporated multiple features into our models, but the models consist In general, deeper models are capable of learning more complex patterns than shallower models. Of course, complex models also have their disadvantages. We can vary it to experiment with shallower or deeper models. However, even deeper models are not necessarily better.

    52200发布于 2021-07-30
  • 来自专栏雪胖纸的玩蛇日常

    2.Models设计

    1.Models设计: 1.重构用户表: 1.在users/models.py中: from django.db import models from django.contrib.auth.models from users.models import UserProfile from django.utils.safestring import mark_safe # Create your models class Case(models.Model): """ 项目 """ user = models.ForeignKey(UserProfile, verbose_name ="编辑者", on_delete=models.CASCADE) img = models.ImageField(upload_to='img', null=True,verbose_name # Create your models here.

    55920发布于 2020-05-18
  • 来自专栏程序技术知识

    golang : MVC之models

    背景: MVC是系统开发常用的框架,Models 模型层用来处理数据 ,本篇使用beego框架,演示 models层的用法 代码: 在models 路径下面创建一个go文件 ,用来处理数据库链接,CRUD 等相关操作 package models import ( "github.com/astaxie/beego/orm" _ "github.com/go-sql-driver/mysql return id, er } 这里需要注意 包里面的init方法 比较特殊 ,函数名字要小写 再实现一个controlle package controllers import ( "WEB/models "strconv" "github.com/astaxie/beego" ) //ModuleController is a Controller to handel struct of models {Username: "wangwu", Password: "56789"} id, _ := models.Adduser(&user) c.Ctx.WriteString(strconv.FormatInt

    74610编辑于 2022-07-25
  • 来自专栏从流域到海域

    LangChain手记 Models,Prompts and Parsers

    整理并翻译自DeepLearning.AI×LangChain的官方课程:Models,Prompts and Parsers(源码可见) 模型,提示词和解析器(Models, Prompts and

    37340编辑于 2023-10-12
  • 来自专栏java springboot docker

    安装TensorFlow的models

    文章目录[隐藏] 问题 # 进入TensorFlow的文件夹 cd /usr/local/lib/python/dist-packages/tensorflow # 克隆 models 仓库 git clone --recurse-submodules https://github.com/tensorflow/models # 如果是旧版tf,请github查找对应models版本,然后切换版本对应分支 如 git checkout r1.13.0 # 还有许多坑,看使用models中的哪些api 问题 Error: No module named ‘tf_slim’ # 跳转到/models/research

    44220编辑于 2023-03-01
  • 来自专栏distributed cloud

    Integrated solution for large industry models

    Integrated solution for large industry models The distributed cloud deployed based on CDC and CDZ introduces Tencent Cloud's full-stack ecological services for large models.

    21710编辑于 2025-06-17
  • 来自专栏翻译scikit-learn Cookbook

    Probabilistic clustering with Gaussian Mixture Models

    用基于概率的高斯混合模型聚类 In KMeans, we assume that the variance of the clusters is equal. This leads to a subdivision of space that determines how the clusters are assigned; but, what about a situation where the variances are not equal and each cluster point has som

    77610发布于 2019-11-25
  • 来自专栏Kirin博客

    Django-models & QuerySet API

    一是在INSTALLED_APPS里面加入app名称; 二是配置数据库相关信息 View Code 定义数据库表结构  models.py 使用orm框架,不需要编写原生的sql语句 from django.db import models class Person(models.Model): #一个类对应一张表 name = models.CharField(max_length=64 ) # 字符串类型,必须加参数max_length age = models.IntegerField() #整数类型 def __str__(self): gt,lt,gte,lte >>> models.Person.objects.filter(age__lte = 20) # 一个表里面两个字段大小对比 F() >>> from django.db.models (补充)关系型字段 多对一    ForeignKey 多对多   ManyToManyField 例如:学生跟老师是多对多关系,学生跟学校是多对一关系: vim models.py models.ForeignKey

    1.9K20发布于 2020-07-23
  • 来自专栏null的专栏

    Embeddings from Language Models(ELMo)

    Embeddings from Language Models(ELMo)[2]是2018年提出的一种基于上下文的预训练模型,研究人员认为一个好的预训练语言模型应该能够包含丰富的句法和语义信息, 并且能够对多义词进行建模

    77530编辑于 2022-05-12
领券